Tyro/src/settings/ThemeConfig.h

21 lines
412 B
C
Raw Normal View History

/**
* Theme manager
*/
2016-01-13 09:29:09 -05:00
#pragma once
2015-07-07 10:01:17 -04:00
#include "src/wx_common.h"
#include "src/settings/Config.h"
class ThemeConfig : TyroConfig {
public:
ThemeConfig();
~ThemeConfig();
bool SetTheme(const string &theme_name);
Json::Value GetTheme();
Json::Value GetThemeValue(const string &type, const string &key);
2019-06-18 11:22:49 -04:00
wxColor GetThemeColor(const string &type, const string &key);
private:
Json::Value current_theme;
};