mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
webtv channels integration port,
initial code (C) martii,
initial patch from jacek
Origin commit data
------------------
Branch: ni/coolstream
Commit: a473fe8194
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-08-27 (Wed, 27 Aug 2014)
------------------
This commit was generated by Migit
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