summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-18 17:26:54 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-18 17:26:54 -0300
commitde8559be85dba1dd9ada21476a44e817d885ee75 (patch)
tree4976794df9895e2d862a6ae2fee991be00c15ef5 /gui
parentf0aea179dd75722c51298667346d3da98d0c7bb3 (diff)
downloadeeshow-de8559be85dba1dd9ada21476a44e817d885ee75.tar.gz
eeshow-de8559be85dba1dd9ada21476a44e817d885ee75.tar.bz2
eeshow-de8559be85dba1dd9ada21476a44e817d885ee75.zip
eeshow/gui/history.c (RGBA, COLOR): move to style.h
Diffstat (limited to 'gui')
-rw-r--r--gui/history.c4
-rw-r--r--gui/style.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gui/history.c b/gui/history.c
index 1eb4ce9..c2728e3 100644
--- a/gui/history.c
+++ b/gui/history.c
@@ -36,10 +36,6 @@ static void hide_history(struct gui_ctx *ctx)
}
-#define RGBA(r, g, b, a) ((struct color) { (r), (g), (b), (a) })
-#define COLOR(color) RGBA(color)
-
-
static void set_history_style(struct gui_hist *h, bool current)
{
struct gui_ctx *ctx = h->ctx;
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;