Tyro/src/settings/ThemeConfig.h

28 lines
517 B
C
Raw Normal View History

/*
* File: ThemeConfig.h
* Author: twarren
*
* Created on May 7, 2015, 9:39 AM
*/
#ifndef TYRO_THEME_CONFIG_H
#define TYRO_THEME_CONFIG_H
#include "../wx_common.h"
#include "../base/settings/Config.h"
class ThemeConfig : TyroConfig {
public:
ThemeConfig();
~ThemeConfig();
void SetTheme(string theme_name);
JsonValue GetTheme();
JsonValue GetThemeValue(string type, string key);
wxColor GetThemeColor(string type, string key);
private:
JsonValue current_theme;
};
#endif /* TYRO_THEME_CONFIG_H */