diff --git a/data/icons/status/markers/Makefile.am b/data/icons/status/markers/Makefile.am index 05fc5ab04..b4c5ac801 100644 --- a/data/icons/status/markers/Makefile.am +++ b/data/icons/status/markers/Makefile.am @@ -1,8 +1,9 @@ installdir = $(ICONSDIR) install_DATA = \ - checkmark.png \ important.png \ + marker_dialog_off.png \ + marker_dialog_ok.png \ marker_epg.png \ marker_hidden.png \ marker_lock.png \ @@ -16,7 +17,7 @@ install_DATA = \ marker_timeshift.png \ marker_timeshift_gray.png \ marker_tv.png \ + marker_update_available.png \ marker_zap.png \ mounted.png \ - not_mounted.png \ - warning.png + not_mounted.png diff --git a/data/icons/status/markers/marker_dialog_off.png b/data/icons/status/markers/marker_dialog_off.png new file mode 100644 index 000000000..7f6cd3c03 Binary files /dev/null and b/data/icons/status/markers/marker_dialog_off.png differ diff --git a/data/icons/status/markers/checkmark.png b/data/icons/status/markers/marker_dialog_ok.png similarity index 100% rename from data/icons/status/markers/checkmark.png rename to data/icons/status/markers/marker_dialog_ok.png diff --git a/data/icons/status/markers/marker_update_available.png b/data/icons/status/markers/marker_update_available.png new file mode 100644 index 000000000..5eb4f0949 Binary files /dev/null and b/data/icons/status/markers/marker_update_available.png differ diff --git a/data/icons/status/markers/warning.png b/data/icons/status/markers/warning.png deleted file mode 100644 index 5b291bb64..000000000 Binary files a/data/icons/status/markers/warning.png and /dev/null differ diff --git a/src/gui/adzap.cpp b/src/gui/adzap.cpp index bc251f253..a651c6eed 100644 --- a/src/gui/adzap.cpp +++ b/src/gui/adzap.cpp @@ -300,7 +300,7 @@ int CAdZapMenu::exec(CMenuTarget *parent, const std::string & actionKey) { bool selected = (g_settings.adzap_zapBackPeriod == shortcut); forwarders[shortcut - 1]->setMarked(selected); - forwarders[shortcut - 1]->iconName_Info_right = selected ? NEUTRINO_ICON_CHECKMARK : NULL; + forwarders[shortcut - 1]->iconName_Info_right = selected ? NEUTRINO_ICON_MARKER_DIALOG_OK : NULL; } nc->setMarked(false); g_settings.adzap_zapBackPeriod *= 60; @@ -340,7 +340,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]->iconName_Info_right = selected ? NEUTRINO_ICON_CHECKMARK : NULL; + forwarders[shortcut - 1]->iconName_Info_right = selected ? NEUTRINO_ICON_MARKER_DIALOG_OK : NULL; forwarders[shortcut - 1]->setHint(NEUTRINO_ICON_HINT_ADZAP, ""); menu->addItem(forwarders[shortcut - 1], selected); minute = LOCALE_ADZAP_MINUTES; diff --git a/src/gui/opkg_manager.cpp b/src/gui/opkg_manager.cpp index ecf5f091c..bb8624b6f 100644 --- a/src/gui/opkg_manager.cpp +++ b/src/gui/opkg_manager.cpp @@ -5,7 +5,7 @@ OPKG-Manager Class for Neutrino-GUI Implementation: - Copyright (C) 2012-2015 T. Graf 'dbt' + Copyright (C) 2012-2018 T. Graf 'dbt' www.dbox2-tuning.net Adaptions: @@ -433,10 +433,10 @@ void COPKGManager::updateMenu() it->second.forwarder->iconName_Info_right = ""; it->second.forwarder->setActive(true); if (it->second.upgradable) { - it->second.forwarder->iconName_Info_right = NEUTRINO_ICON_WARNING; + it->second.forwarder->iconName_Info_right = NEUTRINO_ICON_MARKER_UPDATE_AVAILABLE; upgradesAvailable = true; } else if (it->second.installed) { - it->second.forwarder->iconName_Info_right = NEUTRINO_ICON_CHECKMARK; + it->second.forwarder->iconName_Info_right = NEUTRINO_ICON_MARKER_DIALOG_OK; it->second.forwarder->setActive(expert_mode); } } diff --git a/src/gui/update.cpp b/src/gui/update.cpp index fb775a2ef..c05ccb53d 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -675,7 +675,7 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey) bool active = !strcmp(c, to_string(i).c_str()); std::string m_title = "Partition " + to_string(i); mf = new CMenuForwarder(m_title, true, NULL, selector, to_string(i).c_str(), CRCInput::convertDigitToKey(i)); - mf->iconName_Info_right = active ? NEUTRINO_ICON_CHECKMARK : NULL; + mf->iconName_Info_right = active ? NEUTRINO_ICON_MARKER_DIALOG_OK : NULL; m.addItem(mf, active); } diff --git a/src/gui/widget/icons.h b/src/gui/widget/icons.h index 2b90dbd95..d33519dfd 100644 --- a/src/gui/widget/icons.h +++ b/src/gui/widget/icons.h @@ -76,6 +76,11 @@ #define NEUTRINO_ICON_BUTTON_MUTE_ZAP_ACTIVE "mute_zap_green" #define NEUTRINO_ICON_BUTTON_MUTE_ZAP_INACTIVE "mute_zap_gray" +#define NEUTRINO_ICON_BUTTON_OPTION_ON_ACTIVE "btn_option_on_active" +#define NEUTRINO_ICON_BUTTON_OPTION_ON_INACTIVE "btn_option_on_inactive" +#define NEUTRINO_ICON_BUTTON_OPTION_OFF_ACTIVE "btn_option_off_active" +#define NEUTRINO_ICON_BUTTON_OPTION_OFF_INACTIVE "btn_option_off_inactive" + /* headers */ #define NEUTRINO_ICON_BLUE "icon_blue" #define NEUTRINO_ICON_GREEN "icon_green" @@ -287,15 +292,16 @@ #define NEUTRINO_ICON_STAR_ON "star-on" #define NEUTRINO_ICON_STAR_OFF "star-off" -#define NEUTRINO_ICON_STARS_BG "stars_bg" //NI -#define NEUTRINO_ICON_STARS "stars" //NI +#define NEUTRINO_ICON_STARS_BG "stars_bg" +#define NEUTRINO_ICON_STARS "stars" #define NEUTRINO_ICON_IMDB "imdb" #define NEUTRINO_ICON_TMDB "tmdb" -/* opkg manager */ -#define NEUTRINO_ICON_CHECKMARK "checkmark" -#define NEUTRINO_ICON_WARNING "warning" +/* status */ +#define NEUTRINO_ICON_MARKER_DIALOG_OK "marker_dialog_ok" +#define NEUTRINO_ICON_MARKER_DIALOG_OFF "marker_dialog_off" +#define NEUTRINO_ICON_MARKER_UPDATE_AVAILABLE "marker_update_available.png" //NI #define NEUTRINO_ICON_HINT_IMAGELOGO "hint_imagelogo"