mainmenu: add an icon for tv-radio-switch

Origin commit data
------------------
Branch: ni/coolstream
Commit: e391ea7dfd
Author: vanhofen <vanhofen@gmx.de>
Date: 2012-07-19 (Thu, 19 Jul 2012)

Origin message was:
------------------
- mainmenu: add an icon for tv-radio-switch

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2012-07-19 21:23:53 +02:00
parent 13881627ac
commit d6f64f0ec7
4 changed files with 3 additions and 1 deletions

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

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

View File

@@ -140,7 +140,7 @@ void CNeutrinoApp::InitMenuMain()
//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);
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]);
//tv-mode