mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- movieplayer: allow to display plackback time instead of movietitle on vfd
Conflicts: data/locale/deutsch.locale data/locale/english.locale src/neutrino.cpp src/system/locals.h src/system/locals_intern.h src/system/settings.h Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
|
||||
#include <global.h>
|
||||
#include <neutrino.h>
|
||||
#include <mymenu.h>
|
||||
|
||||
#include <gui/widget/icons.h>
|
||||
#include <gui/widget/stringinput.h>
|
||||
@@ -113,6 +114,12 @@ int CMediaPlayerSetup::showMediaPlayerSetup()
|
||||
mf->setHint(NEUTRINO_ICON_HINT_YTPLAY, LOCALE_MENU_HINT_YTPLAY_SETUP);
|
||||
mediaSetup->addItem(mf);
|
||||
|
||||
mediaSetup->addItem(GenericMenuSeparator);
|
||||
|
||||
CMenuOptionChooser *mc;
|
||||
mc = new CMenuOptionChooser(LOCALE_MOVIEPLAYER_DISPLAY_PLAYTIME, &g_settings.movieplayer_display_playtime, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, g_info.hw_caps->display_xres >= 8);
|
||||
mc->setHint("", LOCALE_MENU_HINT_MOVIEPLAYER_DISPLAY_PLAYTIME);
|
||||
mediaSetup->addItem(mc);
|
||||
|
||||
int res = mediaSetup->exec (NULL, "");
|
||||
selected = mediaSetup->getSelected();
|
||||
|
Reference in New Issue
Block a user