*neutrino: add toggle item for tv and radio mode to main menue

Note: this menu item is also personalized with red button,
probaly we should use other button

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2016 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
thilo
2011-12-28 00:19:52 +00:00
parent 9dc2ef58bc
commit cf9e6dee65
8 changed files with 15 additions and 5 deletions

View File

@@ -676,6 +676,7 @@ typedef enum
LOCALE_MAINMENU_SHUTDOWN,
LOCALE_MAINMENU_SLEEPTIMER,
LOCALE_MAINMENU_TVMODE,
LOCALE_MAINMENU_TVRADIO_SWITCH,
LOCALE_MAINSETTINGS_AUDIO,
LOCALE_MAINSETTINGS_HEAD,
LOCALE_MAINSETTINGS_KEYBINDING,

View File

@@ -676,6 +676,7 @@ const char * locale_real_names[] =
"mainmenu.shutdown",
"mainmenu.sleeptimer",
"mainmenu.tvmode",
"mainmenu.tvradio_switch",
"mainsettings.audio",
"mainsettings.head",
"mainsettings.keybinding",

View File

@@ -39,6 +39,7 @@ const struct personalize_settings_t personalize_settings[SNeutrinoSettings::P_SE
//main menu
{"personalize_tv_mode" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
{"personalize_tv_radio_mode" , CPersonalizeGui::PERSONALIZE_MODE_NOTVISIBLE}, //toggle
{"personalize_radio_mode" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
{"personalize_timer" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
{"personalize_media" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},

View File

@@ -138,6 +138,7 @@ struct SNeutrinoSettings
//main menu
P_MAIN_TV_MODE,
P_MAIN_TV_RADIO_MODE, //togglemode
P_MAIN_RADIO_MODE,
P_MAIN_TIMER,
P_MAIN_MEDIA,