mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
webtv channels integration port,
initial code (C) martii, initial patch from jacek
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
|
||||
#include <gui/audioplayer_setup.h>
|
||||
#include <gui/pictureviewer_setup.h>
|
||||
#include <gui/webtv_setup.h>
|
||||
|
||||
|
||||
#include <driver/screen_max.h>
|
||||
@@ -94,6 +95,13 @@ int CMediaPlayerSetup::showMediaPlayerSetup()
|
||||
CAudioPlayerSetup asetup;
|
||||
mediaSetup->addItem(new CMenuForwarder(LOCALE_AUDIOPLAYER_NAME, true, NULL, &asetup, "", CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN));
|
||||
|
||||
CWebTVSetup wsetup;
|
||||
CMenuForwarder *mf;
|
||||
int shortcut = 1;
|
||||
mf = new CMenuForwarder(LOCALE_WEBTV_HEAD, true, NULL, &wsetup, "show_menu", CRCInput::convertDigitToKey(shortcut++));
|
||||
mf->setHint(NEUTRINO_ICON_HINT_TVMODE /* FIXME */, LOCALE_MENU_HINT_WEBTV_SETUP);
|
||||
mediaSetup->addItem(mf);
|
||||
|
||||
int res = mediaSetup->exec (NULL, "");
|
||||
selected = mediaSetup->getSelected();
|
||||
delete mediaSetup;
|
||||
|
Reference in New Issue
Block a user