21 lines
412 B
C++
21 lines
412 B
C++
/**
|
|
* Theme manager
|
|
*/
|
|
#pragma once
|
|
|
|
#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);
|
|
wxColor GetThemeColor(const string &type, const string &key);
|
|
private:
|
|
Json::Value current_theme;
|
|
};
|
|
|