- themes: add color for channellist event descriptions

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2022-04-17 23:34:03 +02:00
committed by Thilo Graf
parent 0e02e8e956
commit ead36a120f
10 changed files with 49 additions and 6 deletions

View File

@@ -827,6 +827,9 @@ void COsdSetup::showOsdMenueColorSetup(CMenuWidget *menu_colors)
NULL, colorSetupNotifier);
CColorChooser* chProgressbar_active = new CColorChooser(LOCALE_COLORMENU_PROGRESSBAR_ACTIVE, &t.progressbar_active_red, &t.progressbar_active_green, &t.progressbar_active_blue,
NULL, colorSetupNotifier);
// channellist colors
CColorChooser* chChannellistDescTextcolor = new CColorChooser(LOCALE_COLORMENU_TEXTCOLOR, &t.channellist_Description_Text_red, &t.channellist_Description_Text_green, &t.channellist_Description_Text_blue,
NULL, colorSetupNotifier);
menu_colors->addItem( new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_COLORMENUSETUP_MENUHEAD));
@@ -974,6 +977,12 @@ void COsdSetup::showOsdMenueColorSetup(CMenuWidget *menu_colors)
mf->setHint("", LOCALE_MENU_HINT_INFOBAR_CASYS_COLOR);
menu_colors->addItem(mf);
// channellist
menu_colors->addItem( new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_MAINMENU_CHANNELS));
mf = new CMenuDForwarder(LOCALE_COLORMENU_CHANNELLIST_DESCRIPTION_TEXT, true, NULL, chChannellistDescTextcolor );
mf->setHint("", LOCALE_MENU_HINT_COLOR_CHANNELLIST_DESCRIPTION_TEXT);
menu_colors->addItem(mf);
// colored events
CColorChooser* chColored_Events = new CColorChooser(LOCALE_COLORMENU_TEXTCOLOR, &t.colored_events_red,
&t.colored_events_green, &t.colored_events_blue, NULL, colorSetupNotifier);