2015-05-07 17:05:27 -04:00
|
|
|
/**
|
|
|
|
* Theme manager
|
2015-05-07 14:06:12 -04:00
|
|
|
*/
|
2016-01-13 09:29:09 -05:00
|
|
|
#pragma once
|
2015-05-07 14:06:12 -04:00
|
|
|
|
2015-07-07 10:01:17 -04:00
|
|
|
#include "src/wx_common.h"
|
|
|
|
#include "src/settings/Config.h"
|
2015-05-07 14:06:12 -04:00
|
|
|
|
|
|
|
class ThemeConfig : TyroConfig {
|
|
|
|
public:
|
|
|
|
ThemeConfig();
|
|
|
|
~ThemeConfig();
|
2015-06-19 16:37:24 -04:00
|
|
|
bool SetTheme(string theme_name);
|
2015-05-07 14:06:12 -04:00
|
|
|
JsonValue GetTheme();
|
|
|
|
JsonValue GetThemeValue(string type, string key);
|
|
|
|
wxColor GetThemeColor(string type, string key);
|
|
|
|
private:
|
|
|
|
JsonValue current_theme;
|
|
|
|
};
|
|
|
|
|