mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- usermenu: add file player
This commit is contained in:
@@ -382,6 +382,16 @@ bool CUserMenu::showUserMenu(int button)
|
||||
menu->addItem(menu_item, 0);
|
||||
}
|
||||
break;
|
||||
case SNeutrinoSettings::ITEM_FILEPLAY:
|
||||
{
|
||||
menu_items++;
|
||||
menu_prev = SNeutrinoSettings::ITEM_FILEPLAY;
|
||||
keyhelper.get(&key,&icon);
|
||||
menu_item = new CMenuForwarder(LOCALE_MOVIEPLAYER_FILEPLAYBACK, true, NULL, &CMoviePlayerGui::getInstance(), "fileplayback", key, icon);
|
||||
menu_item->setHint(NEUTRINO_ICON_HINT_FILEPLAY, LOCALE_MENU_HINT_FILEPLAY);
|
||||
menu->addItem(menu_item, 0);
|
||||
}
|
||||
break;
|
||||
|
||||
#if 0 // FIXME not supported yet
|
||||
case SNeutrinoSettings::ITEM_MOVIEPLAYER_TS:
|
||||
|
@@ -89,7 +89,8 @@ const CMenuOptionChooser::keyval USERMENU_ITEM_OPTIONS[USERMENU_ITEM_OPTION_COUN
|
||||
{ SNeutrinoSettings::ITEM_GAMES, LOCALE_MAINMENU_GAMES },
|
||||
{ SNeutrinoSettings::ITEM_SCRIPTS, LOCALE_MAINMENU_SCRIPTS },
|
||||
{ SNeutrinoSettings::ITEM_RECORD, LOCALE_TIMERLIST_TYPE_RECORD },
|
||||
{ SNeutrinoSettings::ITEM_YOUTUBE, LOCALE_MOVIEPLAYER_YTPLAYBACK }
|
||||
{ SNeutrinoSettings::ITEM_YOUTUBE, LOCALE_MOVIEPLAYER_YTPLAYBACK },
|
||||
{ SNeutrinoSettings::ITEM_FILEPLAY, LOCALE_MOVIEPLAYER_FILEPLAYBACK }
|
||||
};
|
||||
|
||||
int CUserMenuSetup::exec(CMenuTarget* parent, const std::string &)
|
||||
|
@@ -655,6 +655,7 @@ struct SNeutrinoSettings
|
||||
ITEM_GAMES = 20,
|
||||
ITEM_SCRIPTS = 21,
|
||||
ITEM_YOUTUBE = 22,
|
||||
ITEM_FILEPLAY = 23,
|
||||
#if 0
|
||||
ITEM_MOVIEPLAYER_TS,
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user