mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- adzap: add hint icon by fred_feuerstein
This commit is contained in:
@@ -86,6 +86,7 @@ install_DATA += \
|
|||||||
help_small.png \
|
help_small.png \
|
||||||
hidden.png \
|
hidden.png \
|
||||||
hint_a_pic.png \
|
hint_a_pic.png \
|
||||||
|
hint_adzap.png \
|
||||||
hint_aplay.png \
|
hint_aplay.png \
|
||||||
hint_audio.png \
|
hint_audio.png \
|
||||||
hint_back.png \
|
hint_back.png \
|
||||||
|
BIN
data/icons/hint_adzap.png
Normal file
BIN
data/icons/hint_adzap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
@@ -313,7 +313,7 @@ void CAdZapMenu::ShowMenu()
|
|||||||
menu->addIntroItems();
|
menu->addIntroItems();
|
||||||
|
|
||||||
CMenuOptionChooser *oc = new CMenuOptionChooser(LOCALE_ADZAP_WRITEDATA, &g_settings.adzap_writeData, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
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(oc);
|
||||||
|
|
||||||
menu->addItem(new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_ADZAP_SWITCHBACK));
|
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;
|
bool selected = g_settings.adzap_zapBackPeriod == 60 * shortcut;
|
||||||
forwarders[shortcut - 1] = new CMenuForwarder(minute, true, NULL, this, actionKey, CRCInput::convertDigitToKey(shortcut));
|
forwarders[shortcut - 1] = new CMenuForwarder(minute, true, NULL, this, actionKey, CRCInput::convertDigitToKey(shortcut));
|
||||||
forwarders[shortcut - 1]->setMarked(selected);
|
forwarders[shortcut - 1]->setMarked(selected);
|
||||||
|
forwarders[shortcut - 1]->setHint(NEUTRINO_ICON_HINT_ADZAP, "");
|
||||||
menu->addItem(forwarders[shortcut - 1], selected);
|
menu->addItem(forwarders[shortcut - 1], selected);
|
||||||
minute = LOCALE_ADZAP_MINUTES;
|
minute = LOCALE_ADZAP_MINUTES;
|
||||||
}
|
}
|
||||||
|
@@ -378,7 +378,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
|||||||
case SNeutrinoSettings::ITEM_ADZAP:
|
case SNeutrinoSettings::ITEM_ADZAP:
|
||||||
keyhelper.get(&key,&icon,CRCInput::RC_blue);
|
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 = 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;
|
break;
|
||||||
#if 0
|
#if 0
|
||||||
case SNeutrinoSettings::ITEM_TUNER_RESTART:
|
case SNeutrinoSettings::ITEM_TUNER_RESTART:
|
||||||
|
@@ -204,6 +204,7 @@
|
|||||||
#define NEUTRINO_ICON_HINT_SHUTDOWN "hint_shutdown"
|
#define NEUTRINO_ICON_HINT_SHUTDOWN "hint_shutdown"
|
||||||
#define NEUTRINO_ICON_HINT_INFO "hint_info"
|
#define NEUTRINO_ICON_HINT_INFO "hint_info"
|
||||||
#define NEUTRINO_ICON_HINT_CI "hint_ci"
|
#define NEUTRINO_ICON_HINT_CI "hint_ci"
|
||||||
|
#define NEUTRINO_ICON_HINT_ADZAP "hint_adzap"
|
||||||
/* media */
|
/* media */
|
||||||
#define NEUTRINO_ICON_HINT_APLAY "hint_aplay"
|
#define NEUTRINO_ICON_HINT_APLAY "hint_aplay"
|
||||||
#define NEUTRINO_ICON_HINT_INET_RADIO "hint_inetradio"
|
#define NEUTRINO_ICON_HINT_INET_RADIO "hint_inetradio"
|
||||||
|
Reference in New Issue
Block a user