mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- webtv-setup: implement webradio-setup into webtv-setup code
Conflicts: src/gui/webtv_setup.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -101,19 +101,23 @@ int CMediaPlayerSetup::showMediaPlayerSetup()
|
||||
mediaSetup->addItem(GenericMenuSeparator);
|
||||
|
||||
CWebTVSetup wsetup;
|
||||
mf = new CMenuForwarder(LOCALE_WEBTV_HEAD, true, NULL, &wsetup, "show_menu", CRCInput::RC_yellow);
|
||||
mf = new CMenuForwarder(LOCALE_WEBTV_HEAD, true, NULL, &wsetup, "webtv_menu", CRCInput::RC_yellow);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_WEBTV, LOCALE_MENU_HINT_WEBTV_SETUP);
|
||||
mediaSetup->addItem(mf);
|
||||
|
||||
mf = new CMenuForwarder(LOCALE_WEBRADIO_HEAD, true, NULL, &wsetup, "webradio_menu", CRCInput::RC_blue);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_WEBTV /*FIXME*/, LOCALE_MENU_HINT_WEBRADIO_SETUP);
|
||||
mediaSetup->addItem(mf);
|
||||
|
||||
int shortcut = 1;
|
||||
CXMLTVSetup xmltvsetup;
|
||||
mf = new CMenuForwarder(LOCALE_XMLTV_HEAD, true, NULL, &xmltvsetup, "show_menu", CRCInput::RC_blue);
|
||||
mf = new CMenuForwarder(LOCALE_XMLTV_HEAD, true, NULL, &xmltvsetup, "show_menu", CRCInput::convertDigitToKey(shortcut++));
|
||||
mf->setHint(NEUTRINO_ICON_HINT_XMLTV, LOCALE_MENU_HINT_XMLTV_SETUP);
|
||||
mediaSetup->addItem(mf);
|
||||
|
||||
mediaSetup->addItem(new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_MAINMENU_MOVIEPLAYER));
|
||||
|
||||
CMovieBrowser msetup;
|
||||
int shortcut = 1;
|
||||
mf = new CMenuForwarder(LOCALE_MOVIEBROWSER_HEAD, true, NULL, &msetup, "show_menu", CRCInput::convertDigitToKey(shortcut++));
|
||||
mf->setHint(NEUTRINO_ICON_HINT_MB, LOCALE_MENU_HINT_MOVIEBROWSER_SETUP);
|
||||
mediaSetup->addItem(mf);
|
||||
|
Reference in New Issue
Block a user