mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- colors: make footer text color configurable
This commit is contained in:
@@ -278,6 +278,10 @@ void CThemes::setTheme(CConfigFile &configfile)
|
||||
configfile.setInt32( "menu_Foot_red", t.menu_Foot_red );
|
||||
configfile.setInt32( "menu_Foot_green", t.menu_Foot_green );
|
||||
configfile.setInt32( "menu_Foot_blue", t.menu_Foot_blue );
|
||||
configfile.setInt32( "menu_Foot_Text_alpha", t.menu_Foot_Text_alpha );
|
||||
configfile.setInt32( "menu_Foot_Text_red", t.menu_Foot_Text_red );
|
||||
configfile.setInt32( "menu_Foot_Text_green", t.menu_Foot_Text_green );
|
||||
configfile.setInt32( "menu_Foot_Text_blue", t.menu_Foot_Text_blue );
|
||||
|
||||
configfile.setInt32( "menu_Hint_gradient" , t.menu_Hint_gradient);
|
||||
configfile.setInt32( "menu_Hint_gradient_direction" , t.menu_Hint_gradient_direction);
|
||||
@@ -360,6 +364,10 @@ void CThemes::getTheme(CConfigFile &configfile)
|
||||
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", 0x28 );
|
||||
t.menu_Foot_Text_green = configfile.getInt32( "menu_Foot_Text_green", 0x28 );
|
||||
t.menu_Foot_Text_blue = configfile.getInt32( "menu_Foot_Text_blue", 0x28 );
|
||||
|
||||
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);
|
||||
|
Reference in New Issue
Block a user