- adzap: add hint icon by fred_feuerstein

This commit is contained in:
svenhoefer
2016-02-29 11:08:44 +01:00
parent 00e5cf6759
commit 1df41008a4
5 changed files with 5 additions and 2 deletions

View File

@@ -86,6 +86,7 @@ install_DATA += \
help_small.png \
hidden.png \
hint_a_pic.png \
hint_adzap.png \
hint_aplay.png \
hint_audio.png \
hint_back.png \

BIN
data/icons/hint_adzap.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -313,7 +313,7 @@ void CAdZapMenu::ShowMenu()
menu->addIntroItems();
CMenuOptionChooser *oc = new CMenuOptionChooser(LOCALE_ADZAP_WRITEDATA, &g_settings.adzap_writeData, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
oc->setHint("", LOCALE_MENU_HINT_ADZAP_WRITEDATA);
oc->setHint(NEUTRINO_ICON_HINT_ADZAP, LOCALE_MENU_HINT_ADZAP_WRITEDATA);
menu->addItem(oc);
menu->addItem(new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_ADZAP_SWITCHBACK));
@@ -326,6 +326,7 @@ void CAdZapMenu::ShowMenu()
bool selected = g_settings.adzap_zapBackPeriod == 60 * shortcut;
forwarders[shortcut - 1] = new CMenuForwarder(minute, true, NULL, this, actionKey, CRCInput::convertDigitToKey(shortcut));
forwarders[shortcut - 1]->setMarked(selected);
forwarders[shortcut - 1]->setHint(NEUTRINO_ICON_HINT_ADZAP, "");
menu->addItem(forwarders[shortcut - 1], selected);
minute = LOCALE_ADZAP_MINUTES;
}

View File

@@ -378,7 +378,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
case SNeutrinoSettings::ITEM_ADZAP:
keyhelper.get(&key,&icon,CRCInput::RC_blue);
menu_item = new CMenuForwarder(LOCALE_USERMENU_ITEM_ADZAP, true, adzap_active ? g_Locale->getText(LOCALE_OPTIONS_OFF) : NULL, neutrino, "adzap", key, icon);
menu_item->setHint("", adzap_active ? LOCALE_MENU_HINT_ADZAP_ACTIVE : LOCALE_MENU_HINT_ADZAP);
menu_item->setHint(NEUTRINO_ICON_HINT_ADZAP, adzap_active ? LOCALE_MENU_HINT_ADZAP_ACTIVE : LOCALE_MENU_HINT_ADZAP);
break;
#if 0
case SNeutrinoSettings::ITEM_TUNER_RESTART:

View File

@@ -204,6 +204,7 @@
#define NEUTRINO_ICON_HINT_SHUTDOWN "hint_shutdown"
#define NEUTRINO_ICON_HINT_INFO "hint_info"
#define NEUTRINO_ICON_HINT_CI "hint_ci"
#define NEUTRINO_ICON_HINT_ADZAP "hint_adzap"
/* media */
#define NEUTRINO_ICON_HINT_APLAY "hint_aplay"
#define NEUTRINO_ICON_HINT_INET_RADIO "hint_inetradio"