summaryrefslogtreecommitdiff
path: root/gui/style.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/style.h')
-rw-r--r--gui/style.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/style.h b/gui/style.h
index a5e6d4d..de85b9b 100644
--- a/gui/style.h
+++ b/gui/style.h
@@ -27,6 +27,10 @@
#define BG_OLD 1.0, 0.8, 0.8, 0.8
+#define RGBA(r, g, b, a) ((struct color) { (r), (g), (b), (a) })
+#define COLOR(color) RGBA(color)
+
+
extern struct overlay_style overlay_style_default;
extern struct overlay_style overlay_style_dense;
extern struct overlay_style overlay_style_diff_new;