mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
gui/info_menue.cpp: add menu hints
Origin commit data
------------------
Branch: ni/coolstream
Commit: 62448cd43c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-07-08 (Sun, 08 Jul 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -48,8 +48,6 @@ CInfoMenu::CInfoMenu()
|
||||
|
||||
CInfoMenu::~CInfoMenu()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
int CInfoMenu::exec(CMenuTarget* parent, const std::string &/*actionKey*/)
|
||||
@@ -73,12 +71,19 @@ int CInfoMenu::showMenu()
|
||||
CStreamInfo2 streaminfo;
|
||||
|
||||
info->addIntroItems();
|
||||
info->addItem(new CMenuForwarder(LOCALE_SERVICEMENU_IMAGEINFO, true, NULL, &imageinfo, NULL, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED ), false);
|
||||
info->addItem(new CMenuForwarder(LOCALE_EXTRA_DBOXINFO, true, NULL, &boxinfo, NULL, CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN));
|
||||
info->addItem(new CMenuForwarder(LOCALE_STREAMINFO_HEAD, true, NULL, &streaminfo, NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW));
|
||||
CMenuForwarder * mf = new CMenuForwarder(LOCALE_SERVICEMENU_IMAGEINFO, true, NULL, &imageinfo, NULL, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED );
|
||||
mf->setHint(NEUTRINO_ICON_HINT_IMAGEINFO, LOCALE_MENU_HINT_IMAGEINFO);
|
||||
info->addItem(mf);
|
||||
|
||||
mf = new CMenuForwarder(LOCALE_EXTRA_DBOXINFO, true, NULL, &boxinfo, NULL, CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_DBOXINFO, LOCALE_MENU_HINT_DBOXINFO);
|
||||
info->addItem(mf);
|
||||
|
||||
mf = new CMenuForwarder(LOCALE_STREAMINFO_HEAD, true, NULL, &streaminfo, NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_STREAMINFO, LOCALE_MENU_HINT_STREAMINFO);
|
||||
info->addItem(mf);
|
||||
|
||||
int res = info->exec(NULL, "");
|
||||
delete info;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user