- mainmenu: add an icon for tv-radio-switch

This commit is contained in:
svenhoefer
2012-07-19 21:23:53 +02:00
parent 2a0c197c1f
commit e391ea7dfd
4 changed files with 3 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ install_DATA = \
hint_swupdate.png \ hint_swupdate.png \
hint_timers.png \ hint_timers.png \
hint_tvmode.png \ hint_tvmode.png \
hint_tvradio_switch \
hint_vfd.png \ hint_vfd.png \
hint_video.png \ hint_video.png \
home.png \ home.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -169,6 +169,7 @@
/* menu hints */ /* menu hints */
#define NEUTRINO_ICON_HINT_BACK "hint_back" #define NEUTRINO_ICON_HINT_BACK "hint_back"
/* main menu */ /* main menu */
#define NEUTRINO_ICON_HINT_TVRADIO_SWITCH "hint_tvradio_switch"
#define NEUTRINO_ICON_HINT_TVMODE "hint_tvmode" #define NEUTRINO_ICON_HINT_TVMODE "hint_tvmode"
#define NEUTRINO_ICON_HINT_RADIOMODE "hint_radiomode" #define NEUTRINO_ICON_HINT_RADIOMODE "hint_radiomode"
#define NEUTRINO_ICON_HINT_TIMERS "hint_timers" #define NEUTRINO_ICON_HINT_TIMERS "hint_timers"

View File

@@ -140,7 +140,7 @@ void CNeutrinoApp::InitMenuMain()
//tv <-> radio toggle //tv <-> radio toggle
CMenuForwarder *tvradio_switch = new CMenuForwarder(LOCALE_MAINMENU_TVRADIO_SWITCH, true, NULL, this, "tv_radio_switch", CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED); CMenuForwarder *tvradio_switch = new CMenuForwarder(LOCALE_MAINMENU_TVRADIO_SWITCH, true, NULL, this, "tv_radio_switch", CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED);
tvradio_switch->setHint("", LOCALE_MENU_HINT_TVRADIO_SWITCH); tvradio_switch->setHint(NEUTRINO_ICON_HINT_TVRADIO_SWITCH, LOCALE_MENU_HINT_TVRADIO_SWITCH);
personalize.addItem(MENU_MAIN, tvradio_switch, &g_settings.personalize[SNeutrinoSettings::P_MAIN_TV_RADIO_MODE]); personalize.addItem(MENU_MAIN, tvradio_switch, &g_settings.personalize[SNeutrinoSettings::P_MAIN_TV_RADIO_MODE]);
//tv-mode //tv-mode