themes: set default theme instead static colors, but hold fallback

This commit is contained in:
2018-04-11 16:12:03 +02:00
parent ce244d7fcd
commit 819c54e240
4 changed files with 43 additions and 13 deletions

View File

@@ -45,13 +45,15 @@ class CThemes : public CMenuTarget, CChangeObserver
void readThemes(CMenuWidget &);
void rememberOldTheme(bool remember);
void move_userDir();
bool applyDefaultTheme();
public:
CThemes();
static CThemes* getInstance();
void setupDefaultColors();
int exec(CMenuTarget* parent, const std::string & actionKey);
static void setTheme(CConfigFile &configfile);
static void getTheme(CConfigFile &configfile);
void setTheme(CConfigFile &configfile);
void getTheme(CConfigFile &configfile);
};
#endif