mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
themes: add color for channellist event descriptions
Origin commit data
------------------
Commit: 6cb7939fdd
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-04-17 (Sun, 17 Apr 2022)
Origin message was:
------------------
- themes: add color for channellist event descriptions
This commit is contained in:
@@ -410,6 +410,7 @@ typedef enum
|
||||
LOCALE_COLORCHOOSER_GREEN,
|
||||
LOCALE_COLORCHOOSER_RED,
|
||||
LOCALE_COLORMENU_BACKGROUND,
|
||||
LOCALE_COLORMENU_CHANNELLIST_DESCRIPTION_TEXT,
|
||||
LOCALE_COLORMENU_CLOCK_TEXTCOLOR,
|
||||
LOCALE_COLORMENU_FADE,
|
||||
LOCALE_COLORMENU_FONT,
|
||||
@@ -1403,6 +1404,7 @@ typedef enum
|
||||
LOCALE_MENU_HINT_CLOCK_SECONDS,
|
||||
LOCALE_MENU_HINT_CLOCK_SIZE,
|
||||
LOCALE_MENU_HINT_CLOCK_TEXTCOLOR,
|
||||
LOCALE_MENU_HINT_COLOR_CHANNELLIST_DESCRIPTION_TEXT,
|
||||
LOCALE_MENU_HINT_COLOR_GRADIENT,
|
||||
LOCALE_MENU_HINT_COLOR_GRADIENT_DIRECTION,
|
||||
LOCALE_MENU_HINT_COLOR_GRADIENT_SEPARATOR_ENABLE,
|
||||
|
@@ -410,6 +410,7 @@ const char * locale_real_names[] =
|
||||
"colorchooser.green",
|
||||
"colorchooser.red",
|
||||
"colormenu.background",
|
||||
"colormenu.channellist_description_text",
|
||||
"colormenu.clock_textcolor",
|
||||
"colormenu.fade",
|
||||
"colormenu.font",
|
||||
@@ -1403,6 +1404,7 @@ const char * locale_real_names[] =
|
||||
"menu.hint_clock_seconds",
|
||||
"menu.hint_clock_size",
|
||||
"menu.hint_clock_textcolor",
|
||||
"menu.hint_color_channellist_description_text",
|
||||
"menu.hint_color_gradient",
|
||||
"menu.hint_color_gradient_direction",
|
||||
"menu.hint_color_gradient_separator_enable",
|
||||
|
@@ -400,6 +400,11 @@ void CColorSetupNotifier::setPalette()
|
||||
convertSetupColor2RGB(t.progressbar_active_red, t.progressbar_active_green, t.progressbar_active_blue),
|
||||
convertSetupAlpha2Alpha(t.menu_Content_alpha));
|
||||
|
||||
// COL_CHANNELLIST_DESCRIPTION_TEXT
|
||||
frameBuffer->paletteSetColor(COL_NEUTRINO_TEXT + 22,
|
||||
convertSetupColor2RGB(t.channellist_Description_Text_red, t.channellist_Description_Text_green, t.channellist_Description_Text_blue),
|
||||
convertSetupAlpha2Alpha(t.channellist_Description_Text_alpha));
|
||||
|
||||
frameBuffer->paletteSet();
|
||||
}
|
||||
|
||||
|
@@ -151,6 +151,12 @@ struct SNeutrinoTheme
|
||||
int colored_events_channellist;
|
||||
int colored_events_infobar;
|
||||
|
||||
// channellist
|
||||
unsigned char channellist_Description_Text_alpha;
|
||||
unsigned char channellist_Description_Text_red;
|
||||
unsigned char channellist_Description_Text_green;
|
||||
unsigned char channellist_Description_Text_blue;
|
||||
|
||||
// clock
|
||||
unsigned char clock_Digit_alpha;
|
||||
unsigned char clock_Digit_red;
|
||||
|
Reference in New Issue
Block a user