aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/config.h b/config.h
index 8deca15..dd1488f 100644
--- a/config.h
+++ b/config.h
@@ -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