Tyro/src/settings/ThemeConfig.h

21 lines
406 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);
JsonValue GetTheme();
2019-06-18 11:22:49 -04:00
JsonValue GetThemeValue(const string &type, const string &key);
wxColor GetThemeColor(const string &type, const string &key);
private:
JsonValue current_theme;
};