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/checkmark.png b/data/icons/status/markers/checkmark.png deleted file mode 100644 index 59495a665..000000000 Binary files a/data/icons/status/markers/checkmark.png and /dev/null differ 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..b0de61d22 Binary files /dev/null and b/data/icons/status/markers/marker_dialog_off.png differ diff --git a/data/icons/status/markers/marker_dialog_ok.png b/data/icons/status/markers/marker_dialog_ok.png new file mode 100644 index 000000000..050dcc53b Binary files /dev/null and b/data/icons/status/markers/marker_dialog_ok.png differ 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..b6c055f61 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 374193eec..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 901bdb7a7..88659bf7a 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 b13999fe0..af451d9f0 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -673,7 +673,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 b1dd22212..dfbe37e11 100644 --- a/src/gui/widget/icons.h +++ b/src/gui/widget/icons.h @@ -74,6 +74,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" @@ -283,15 +288,15 @@ #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" #endif /* __gui_widget_icons_h__ */