mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- themes: change footer colors defaults
these colors historically depends on infobar colors
This commit is contained in:
@@ -360,14 +360,6 @@ void CThemes::getTheme(CConfigFile &configfile)
|
||||
t.menu_Content_inactive_Text_red = configfile.getInt32( "menu_Content_inactive_Text_red", 55 );
|
||||
t.menu_Content_inactive_Text_green = configfile.getInt32( "menu_Content_inactive_Text_green", 70 );
|
||||
t.menu_Content_inactive_Text_blue = configfile.getInt32( "menu_Content_inactive_Text_blue", 85 );
|
||||
t.menu_Foot_alpha = configfile.getInt32( "menu_Foot_alpha", 0x08 );
|
||||
t.menu_Foot_red = configfile.getInt32( "menu_Foot_red", 0x10 );
|
||||
t.menu_Foot_green = configfile.getInt32( "menu_Foot_green", 0x10 );
|
||||
t.menu_Foot_blue = configfile.getInt32( "menu_Foot_blue", 0x10 );
|
||||
t.menu_Foot_Text_alpha = configfile.getInt32( "menu_Foot_Text_alpha", 0x00 );
|
||||
t.menu_Foot_Text_red = configfile.getInt32( "menu_Foot_Text_red", 0x40 );
|
||||
t.menu_Foot_Text_green = configfile.getInt32( "menu_Foot_Text_green", 0x40 );
|
||||
t.menu_Foot_Text_blue = configfile.getInt32( "menu_Foot_Text_blue", 0x40 );
|
||||
|
||||
t.menu_Hint_gradient = configfile.getInt32( "menu_Hint_gradient", CC_COLGRAD_OFF);
|
||||
t.menu_Hint_gradient_direction = configfile.getInt32( "menu_Hint_gradient_direction", CFrameBuffer::gradientVertical);
|
||||
@@ -379,6 +371,12 @@ void CThemes::getTheme(CConfigFile &configfile)
|
||||
t.infobar_green = configfile.getInt32( "infobar_green", 0x0e );
|
||||
t.infobar_blue = configfile.getInt32( "infobar_blue", 0x23 );
|
||||
|
||||
//t.menu_Foot default historically depends on t.infobar
|
||||
t.menu_Foot_alpha = configfile.getInt32( "menu_Foot_alpha", t.infobar_alpha );
|
||||
t.menu_Foot_red = configfile.getInt32( "menu_Foot_red", int(t.infobar_red*0.4)+14 );
|
||||
t.menu_Foot_green = configfile.getInt32( "menu_Foot_green", int(t.infobar_green*0.4)+14 );
|
||||
t.menu_Foot_blue = configfile.getInt32( "menu_Foot_blue", int(t.infobar_blue*0.4)+14 );
|
||||
|
||||
t.infobar_gradient_top = configfile.getInt32( "infobar_gradient_top", CC_COLGRAD_OFF );
|
||||
t.infobar_gradient_top_direction = configfile.getInt32( "infobar_gradient_top_direction", CFrameBuffer::gradientVertical );
|
||||
t.infobar_gradient_body = configfile.getInt32( "infobar_gradient_body", CC_COLGRAD_OFF);
|
||||
@@ -395,6 +393,12 @@ void CThemes::getTheme(CConfigFile &configfile)
|
||||
t.infobar_Text_green = configfile.getInt32( "infobar_Text_green", 0x64 );
|
||||
t.infobar_Text_blue = configfile.getInt32( "infobar_Text_blue", 0x64 );
|
||||
|
||||
//t.menu_Foot_Text default historically depends on t.infobar_Text
|
||||
t.menu_Foot_Text_alpha = configfile.getInt32( "menu_Foot_Text_alpha", 0x00 );
|
||||
t.menu_Foot_Text_red = configfile.getInt32( "menu_Foot_Text_red", int(t.infobar_Text_red*0.6) );
|
||||
t.menu_Foot_Text_green = configfile.getInt32( "menu_Foot_Text_green", int(t.infobar_Text_green*0.6) );
|
||||
t.menu_Foot_Text_blue = configfile.getInt32( "menu_Foot_Text_blue", int(t.infobar_Text_blue*0.6) );
|
||||
|
||||
t.colored_events_alpha = configfile.getInt32( "colored_events_alpha", 0x00 );
|
||||
t.colored_events_red = configfile.getInt32( "colored_events_red", 95 );
|
||||
t.colored_events_green = configfile.getInt32( "colored_events_green", 70 );
|
||||
|
Reference in New Issue
Block a user