gui/themes.cpp: add option to switch one/two color gradient mode

This commit is contained in:
[CST] Focus
2015-05-07 16:38:29 +03:00
parent 3b93336ed3
commit 76fa4bc221
2 changed files with 3 additions and 0 deletions

View File

@@ -290,6 +290,7 @@ void CThemes::setTheme(CConfigFile &configfile)
configfile.setInt32( "clock_Digit_red", t.clock_Digit_red );
configfile.setInt32( "clock_Digit_green", t.clock_Digit_green );
configfile.setInt32( "clock_Digit_blue", t.clock_Digit_blue );
configfile.setInt32( "gradient_c2c", t.gradient_c2c );
}
void CThemes::getTheme(CConfigFile &configfile)
@@ -349,6 +350,7 @@ void CThemes::getTheme(CConfigFile &configfile)
t.clock_Digit_red = configfile.getInt32( "clock_Digit_red", t.menu_Content_Text_red );
t.clock_Digit_green = configfile.getInt32( "clock_Digit_green", t.menu_Content_Text_green );
t.clock_Digit_blue = configfile.getInt32( "clock_Digit_blue", t.menu_Content_Text_blue );
t.gradient_c2c = configfile.getInt32( "gradient_c2c", 0 );
}
void CThemes::move_userDir()

View File

@@ -119,6 +119,7 @@ struct SNeutrinoTheme
unsigned char clock_Digit_red;
unsigned char clock_Digit_green;
unsigned char clock_Digit_blue;
int gradient_c2c;
};
struct SNeutrinoSettings