mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
drop explicit CMenuForwarder icon assignments
Conflicts: src/gui/3dsetup.cpp src/gui/bouquetlist.cpp src/gui/hdd_menu.cpp src/gui/keybind_setup.cpp src/gui/mediaplayer.cpp src/gui/mediaplayer_setup.cpp src/gui/moviebrowser.cpp src/gui/network_setup.cpp src/gui/nfs.cpp src/gui/osd_setup.cpp src/gui/osdlang_setup.cpp src/gui/parentallock_setup.cpp src/gui/personalize.cpp src/gui/proxyserver_setup.cpp src/gui/record_setup.cpp src/gui/scan_setup.cpp src/gui/screensetup.cpp src/gui/settings_manager.cpp src/gui/timerlist.cpp src/gui/update_menue.cpp src/gui/vfd_setup.cpp src/gui/videosettings.cpp src/neutrino_menue.cpp
This commit is contained in:
@@ -111,28 +111,28 @@ int CParentalSetup::showParentalSetup()
|
||||
CMenuForwarder * mf;
|
||||
CPersonalizeGui &p = CNeutrinoApp::getInstance()->getPersonalizeGui();
|
||||
if (g_settings.easymenu) {
|
||||
mf = new CMenuForwarder(LOCALE_PARENTALLOCK_MENU, true, NULL, &p, NULL, CRCInput::RC_red , NEUTRINO_ICON_BUTTON_RED);
|
||||
mf = new CMenuForwarder(LOCALE_PARENTALLOCK_MENU, true, NULL, &p, NULL, CRCInput::RC_red);
|
||||
mf->setHint("", LOCALE_MENU_HINT_PARENTALLOCK_MENU);
|
||||
plock->addItem(mf);
|
||||
}
|
||||
|
||||
CMenuOptionChooser * mc;
|
||||
if (g_settings.easymenu)
|
||||
mc = new CMenuOptionChooser(LOCALE_PARENTALLOCK_PROMPT , &g_settings.parentallock_prompt , PARENTALLOCK_PROMPT_OPTIONS, PARENTALLOCK_PROMPT_OPTION_COUNT , !parentallocked, NULL, CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN);
|
||||
mc = new CMenuOptionChooser(LOCALE_PARENTALLOCK_PROMPT , &g_settings.parentallock_prompt , PARENTALLOCK_PROMPT_OPTIONS, PARENTALLOCK_PROMPT_OPTION_COUNT , !parentallocked, NULL, CRCInput::RC_green);
|
||||
else
|
||||
mc = new CMenuOptionChooser(LOCALE_PARENTALLOCK_PROMPT , &g_settings.parentallock_prompt , PARENTALLOCK_PROMPT_OPTIONS, PARENTALLOCK_PROMPT_OPTION_COUNT , !parentallocked);
|
||||
mc->setHint("", LOCALE_MENU_HINT_PARENTALLOCK_PROMPT);
|
||||
plock->addItem(mc);
|
||||
|
||||
if (g_settings.easymenu)
|
||||
mc = new CMenuOptionChooser(LOCALE_PARENTALLOCK_LOCKAGE, &g_settings.parentallock_lockage, PARENTALLOCK_LOCKAGE_OPTIONS, PARENTALLOCK_LOCKAGE_OPTION_COUNT, !parentallocked, NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
||||
mc = new CMenuOptionChooser(LOCALE_PARENTALLOCK_LOCKAGE, &g_settings.parentallock_lockage, PARENTALLOCK_LOCKAGE_OPTIONS, PARENTALLOCK_LOCKAGE_OPTION_COUNT, !parentallocked, NULL, CRCInput::RC_yellow);
|
||||
else
|
||||
mc = new CMenuOptionChooser(LOCALE_PARENTALLOCK_LOCKAGE, &g_settings.parentallock_lockage, PARENTALLOCK_LOCKAGE_OPTIONS, PARENTALLOCK_LOCKAGE_OPTION_COUNT, !parentallocked);
|
||||
mc->setHint("", LOCALE_MENU_HINT_PARENTALLOCK_LOCKAGE);
|
||||
plock->addItem(mc);
|
||||
|
||||
if (g_settings.easymenu)
|
||||
mc = new CMenuOptionChooser(LOCALE_PARENTALLOCK_BOUQUETMODE, &g_settings.parentallock_defaultlocked, PARENTALLOCK_DEFAULTLOCKED_OPTIONS, PARENTALLOCK_DEFAULTLOCKED_OPTION_COUNT, !parentallocked, NULL, CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE);
|
||||
mc = new CMenuOptionChooser(LOCALE_PARENTALLOCK_BOUQUETMODE, &g_settings.parentallock_defaultlocked, PARENTALLOCK_DEFAULTLOCKED_OPTIONS, PARENTALLOCK_DEFAULTLOCKED_OPTION_COUNT, !parentallocked, NULL, CRCInput::RC_blue);
|
||||
else
|
||||
mc = new CMenuOptionChooser(LOCALE_PARENTALLOCK_BOUQUETMODE, &g_settings.parentallock_defaultlocked, PARENTALLOCK_DEFAULTLOCKED_OPTIONS, PARENTALLOCK_DEFAULTLOCKED_OPTION_COUNT, !parentallocked);
|
||||
plock->addItem(mc);
|
||||
|
Reference in New Issue
Block a user