mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
movieplayer: allow to display plackback time instead of movietitle on vfd
Origin commit data
------------------
Branch: ni/coolstream
Commit: e620d9e544
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-02-27 (Tue, 27 Feb 2018)
Origin message was:
------------------
- movieplayer: allow to display plackback time instead of movietitle on vfd
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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