mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
gui/zapit_setup.cpp: add menu hints
This commit is contained in:
@@ -67,12 +67,20 @@ void CZapitSetup::showMenu()
|
||||
zapit->addIntroItems(LOCALE_ZAPITSETUP_INFO);
|
||||
|
||||
//zapit
|
||||
zapit->addItem(new CMenuOptionChooser(LOCALE_ZAPITSETUP_LAST_USE, &g_settings.uselastchannel, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED));
|
||||
CMenuOptionChooser * mc = new CMenuOptionChooser(LOCALE_ZAPITSETUP_LAST_USE, &g_settings.uselastchannel, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED);
|
||||
mc->setHint("", LOCALE_MENU_HINT_LAST_USE);
|
||||
zapit->addItem(mc);
|
||||
CSelectChannelWidget select;
|
||||
|
||||
zapit->addItem(GenericMenuSeparatorLine);
|
||||
zapit->addItem(zapit1 = new CMenuForwarder(LOCALE_ZAPITSETUP_LAST_TV , !g_settings.uselastchannel, g_settings.StartChannelTV, &select, "tv", CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN ));
|
||||
zapit->addItem(zapit2 = new CMenuForwarder(LOCALE_ZAPITSETUP_LAST_RADIO , !g_settings.uselastchannel, g_settings.StartChannelRadio, &select, "radio", CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW ));
|
||||
|
||||
zapit1 = new CMenuForwarder(LOCALE_ZAPITSETUP_LAST_TV , !g_settings.uselastchannel, g_settings.StartChannelTV, &select, "tv", CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN );
|
||||
zapit1->setHint("", LOCALE_MENU_HINT_LAST_TV);
|
||||
zapit->addItem(zapit1);
|
||||
|
||||
zapit2 = new CMenuForwarder(LOCALE_ZAPITSETUP_LAST_RADIO , !g_settings.uselastchannel, g_settings.StartChannelRadio, &select, "radio", CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW );
|
||||
zapit2->setHint("", LOCALE_MENU_HINT_LAST_RADIO);
|
||||
zapit->addItem(zapit2);
|
||||
|
||||
zapit->exec(NULL, "");
|
||||
delete zapit;
|
||||
|
Reference in New Issue
Block a user