diff options
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -8,12 +8,18 @@ typedef struct { float r,g,b,a; } color_t; -static const bool fancy_scroll = false; -static const uint32_t min_width = 500; -static const uint32_t font_size = 16; -static const color_t text_color = {0.85, 0.85, 0.85, 1.0}; -static const color_t highlight_color = {0.1, 0.3, 0.7, 1.0}; -static const color_t background_color = {0.1, 0.1, 0.1, 1.0}; -static const color_t cursor_color = {0.9, 0.9, 0.9, 0.5}; +typedef struct { + bool fancy_scroll; + uint32_t min_width; + uint32_t font_size; + color_t text_color; + color_t highlight_color; + color_t background_color; + color_t cursor_color; +} config_t; + +extern config_t config; + +void init_conf(); #endif |
