mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
icons: add default hint icon
Origin commit data
------------------
Commit: 8137a4cdb5
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-18 (Mon, 18 Dec 2017)
Origin message was:
------------------
- icons: add default hint icon
This commit is contained in:
@@ -11,6 +11,7 @@ install_DATA = \
|
||||
hint_blank_screen.png \
|
||||
hint_ci.png \
|
||||
hint_dboxinfo.png \
|
||||
hint_default.png \
|
||||
hint_delete.png \
|
||||
hint_extended.png \
|
||||
hint_factory.png \
|
||||
|
BIN
data/icons/hints/hint_default.png
Normal file
BIN
data/icons/hints/hint_default.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 437 B |
@@ -183,6 +183,7 @@
|
||||
#define NEUTRINO_ICON_BUTTON_MUTE_ZAP_INACTIVE "mute_zap_gray"
|
||||
|
||||
/* menu hints */
|
||||
#define NEUTRINO_ICON_HINT_DEFAULT "hint_default"
|
||||
#define NEUTRINO_ICON_HINT_BACK "hint_back"
|
||||
#define NEUTRINO_ICON_HINT_NEXT "hint_next"
|
||||
/* main menu */
|
||||
|
@@ -1564,7 +1564,7 @@ void CMenuWidget::paintHint(int pos)
|
||||
info_box->setColorAll(COL_FRAME_PLUS_0, COL_MENUCONTENTDARK_PLUS_0);
|
||||
info_box->setTextColor(COL_MENUCONTENTDARK_TEXT);
|
||||
info_box->enableShadow();
|
||||
info_box->setPicture(item->hintIcon ? item->hintIcon : NULL);
|
||||
info_box->setPicture(item->hintIcon ? item->hintIcon : NEUTRINO_ICON_HINT_DEFAULT);
|
||||
info_box->enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_MENUFOOT_PLUS_0, g_settings.theme.menu_Hint_gradient_direction);// COL_MENUFOOT_PLUS_0 is default footer color
|
||||
|
||||
//paint result
|
||||
|
Reference in New Issue
Block a user