mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CTestMenu: add buildinfo as menu entry
Buildinfo also exists in infomenu, but is outcommented, so it is
prepared just for testings.
Origin commit data
------------------
Commit: ac6f547d0f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-11 (Mon, 11 Nov 2013)
This commit is contained in:
@@ -38,7 +38,10 @@
|
||||
#include <gui/imageinfo.h>
|
||||
#include <gui/dboxinfo.h>
|
||||
#include <gui/streaminfo2.h>
|
||||
|
||||
#if 0
|
||||
#include <gui/buildinfo.h>
|
||||
#endif
|
||||
|
||||
#include <driver/screen_max.h>
|
||||
#include "gui/cam_menu.h"
|
||||
@@ -73,7 +76,7 @@ int CInfoMenu::showMenu()
|
||||
CImageInfo imageinfo;
|
||||
CDBoxInfoWidget boxinfo;
|
||||
CStreamInfo2 streaminfo;
|
||||
CBuildInfo buildinfo;
|
||||
|
||||
|
||||
info->addIntroItems();
|
||||
CMenuForwarder * mf = new CMenuForwarder(LOCALE_SERVICEMENU_IMAGEINFO, true, NULL, &imageinfo, NULL, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED );
|
||||
@@ -87,17 +90,19 @@ int CInfoMenu::showMenu()
|
||||
mf = new CMenuForwarder(LOCALE_STREAMINFO_HEAD, !CNeutrinoApp::getInstance()->channelList->isEmpty(), NULL, &streaminfo, NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_STREAMINFO, LOCALE_MENU_HINT_STREAMINFO);
|
||||
info->addItem(mf);
|
||||
|
||||
|
||||
#if 0
|
||||
CBuildInfo buildinfo;
|
||||
mf = new CMenuForwarder(LOCALE_BUILDINFO_MENU, true, NULL, &buildinfo, NULL, CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE );
|
||||
mf->setHint(NEUTRINO_ICON_HINT_IMAGEINFO, LOCALE_MENU_HINT_BUILDINFO);
|
||||
info->addItem(mf);
|
||||
#endif
|
||||
|
||||
if (g_settings.easymenu) {
|
||||
mf = new CMenuForwarder(LOCALE_CI_SETTINGS, true, NULL, g_CamHandler, NULL, CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_CI, LOCALE_MENU_HINT_CI);
|
||||
info->addItem(mf);
|
||||
}
|
||||
|
||||
int res = info->exec(NULL, "");
|
||||
delete info;
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user