mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-11 15:41:00 +02:00
add some mor help keys; fix 592a51c44a
Origin commit data ------------------ Commit:08b5b192b2
Author: vanhofen <vanhofen@gmx.de> Date: 2019-12-09 (Mon, 09 Dec 2019) Origin message was: ------------------ - add some mor help keys; fix592a51c44a
This commit is contained in:
@@ -438,6 +438,7 @@ int CMiscMenue::showMiscSettingsMenuEnergy()
|
|||||||
void CMiscMenue::showMiscSettingsMenuEpg(CMenuWidget *ms_epg)
|
void CMiscMenue::showMiscSettingsMenuEpg(CMenuWidget *ms_epg)
|
||||||
{
|
{
|
||||||
ms_epg->addIntroItems(LOCALE_MISCSETTINGS_EPG_HEAD);
|
ms_epg->addIntroItems(LOCALE_MISCSETTINGS_EPG_HEAD);
|
||||||
|
ms_epg->addKey(CRCInput::RC_help, this, "info");
|
||||||
ms_epg->addKey(CRCInput::RC_info, this, "info");
|
ms_epg->addKey(CRCInput::RC_info, this, "info");
|
||||||
|
|
||||||
epg_save = new CMenuOptionChooser(LOCALE_MISCSETTINGS_EPG_SAVE, &g_settings.epg_save, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this);
|
epg_save = new CMenuOptionChooser(LOCALE_MISCSETTINGS_EPG_SAVE, &g_settings.epg_save, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this);
|
||||||
|
@@ -289,7 +289,11 @@ int CNetworkSetup::showNetworkSetup()
|
|||||||
mf->setHint("", LOCALE_MENU_HINT_NET_TEST);
|
mf->setHint("", LOCALE_MENU_HINT_NET_TEST);
|
||||||
networkSettings->addItem(mf); //test
|
networkSettings->addItem(mf); //test
|
||||||
|
|
||||||
|
#if BOXMODEL_VUPLUS
|
||||||
|
mf = new CMenuForwarder(LOCALE_NETWORKMENU_SHOW, true, NULL, this, "networkshow", CRCInput::RC_help);
|
||||||
|
#else
|
||||||
mf = new CMenuForwarder(LOCALE_NETWORKMENU_SHOW, true, NULL, this, "networkshow", CRCInput::RC_info);
|
mf = new CMenuForwarder(LOCALE_NETWORKMENU_SHOW, true, NULL, this, "networkshow", CRCInput::RC_info);
|
||||||
|
#endif
|
||||||
mf->setHint("", LOCALE_MENU_HINT_NET_SHOW);
|
mf->setHint("", LOCALE_MENU_HINT_NET_SHOW);
|
||||||
networkSettings->addItem(mf); //show settings
|
networkSettings->addItem(mf); //show settings
|
||||||
|
|
||||||
|
@@ -568,6 +568,7 @@ int COPKGManager::showMenu()
|
|||||||
|
|
||||||
menu_offset = menu->getItemsCount();
|
menu_offset = menu->getItemsCount();
|
||||||
|
|
||||||
|
menu->addKey(CRCInput::RC_help, this, "rc_info");
|
||||||
menu->addKey(CRCInput::RC_info, this, "rc_info");
|
menu->addKey(CRCInput::RC_info, this, "rc_info");
|
||||||
menu->addKey(CRCInput::RC_blue, this, "rc_blue");
|
menu->addKey(CRCInput::RC_blue, this, "rc_blue");
|
||||||
menu->addKey(CRCInput::RC_yellow, this, "rc_yellow");
|
menu->addKey(CRCInput::RC_yellow, this, "rc_yellow");
|
||||||
|
@@ -3138,7 +3138,7 @@ void CNeutrinoApp::RealRun()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( (msg == NeutrinoMessages::SHOW_EPG) /* || (msg == CRCInput::RC_info) */ ) {
|
if (msg == NeutrinoMessages::SHOW_EPG) {
|
||||||
InfoClock->enableInfoClock(false);
|
InfoClock->enableInfoClock(false);
|
||||||
InfoIcons->enableInfoIcons(false); //NI InfoIcons
|
InfoIcons->enableInfoIcons(false); //NI InfoIcons
|
||||||
StopSubtitles();
|
StopSubtitles();
|
||||||
@@ -3275,14 +3275,14 @@ void CNeutrinoApp::RealRun()
|
|||||||
if (mode == NeutrinoModes::mode_radio || mode == NeutrinoModes::mode_webradio)
|
if (mode == NeutrinoModes::mode_radio || mode == NeutrinoModes::mode_webradio)
|
||||||
tvMode();
|
tvMode();
|
||||||
else if (!g_InfoViewer->is_visible)
|
else if (!g_InfoViewer->is_visible)
|
||||||
g_RCInput->postMsg(NeutrinoMessages::SHOW_INFOBAR, 0);
|
g_RCInput->postMsg(CRCInput::RC_info, 0);
|
||||||
}
|
}
|
||||||
else if (msg == CRCInput::RC_radio)
|
else if (msg == CRCInput::RC_radio)
|
||||||
{
|
{
|
||||||
if (mode == NeutrinoModes::mode_tv || mode == NeutrinoModes::mode_webtv)
|
if (mode == NeutrinoModes::mode_tv || mode == NeutrinoModes::mode_webtv)
|
||||||
radioMode();
|
radioMode();
|
||||||
else if (!g_InfoViewer->is_visible)
|
else if (!g_InfoViewer->is_visible)
|
||||||
g_RCInput->postMsg(NeutrinoMessages::SHOW_INFOBAR, 0);
|
g_RCInput->postMsg(CRCInput::RC_info, 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user