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:
vanhofen
2022-04-17 23:34:03 +02:00
parent 72413b515f
commit 490a869716
10 changed files with 47 additions and 4 deletions

View File

@@ -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,

View File

@@ -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",

View File

@@ -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();
}

View File

@@ -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;