diff --git a/eeshow/gui/history.c b/eeshow/gui/history.c index 1eb4ce9..c2728e3 100644 --- a/eeshow/gui/history.c +++ b/eeshow/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/eeshow/gui/style.h b/eeshow/gui/style.h index a5e6d4d..de85b9b 100644 --- a/eeshow/gui/style.h +++ b/eeshow/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;