]> git.sesse.net Git - ccbs/blob - bigscreen/theme.h
2c873841f4ec56d10b3cfc981ff00300d0213f8f
[ccbs] / bigscreen / theme.h
1 #ifndef THEME_H
2 #define THEME_H 1
3
4 #include <string>
5
6 void init_theme();
7 std::string get_theme_config(const std::string &key, const std::string subkey);
8 void fill_background(unsigned char *buf, unsigned width, unsigned height);
9
10 #define LOGICAL_SCREEN_WIDTH (atoi(get_theme_config("screen", "logical_width").c_str()))
11 #define LOGICAL_SCREEN_HEIGHT (atoi(get_theme_config("screen", "logical_height").c_str()))
12
13 #endif