mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
neturino: add energy settings menu on spark
This commit is contained in:
@@ -171,7 +171,9 @@ int CMiscMenue::showMiscSettingsMenu()
|
|||||||
misc_menue->addItem(new CMenuForwarder(LOCALE_MISCSETTINGS_GENERAL, true, NULL, misc_menue_general, NULL, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED));
|
misc_menue->addItem(new CMenuForwarder(LOCALE_MISCSETTINGS_GENERAL, true, NULL, misc_menue_general, NULL, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED));
|
||||||
|
|
||||||
//energy, shutdown
|
//energy, shutdown
|
||||||
|
#ifndef HAVE_SPARK_HARDWARE
|
||||||
if(cs_get_revision() > 7)
|
if(cs_get_revision() > 7)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
CMenuWidget *misc_menue_energy = new CMenuWidget(LOCALE_MISCSETTINGS_HEAD, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_MISCSETUP_ENERGY);
|
CMenuWidget *misc_menue_energy = new CMenuWidget(LOCALE_MISCSETTINGS_HEAD, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_MISCSETUP_ENERGY);
|
||||||
showMiscSettingsMenuEnergy(misc_menue_energy);
|
showMiscSettingsMenuEnergy(misc_menue_energy);
|
||||||
|
Reference in New Issue
Block a user