1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 05:59:43 +02:00

eeshow/gui/history.c (RGBA, COLOR): move to style.h

This commit is contained in:
Werner Almesberger 2016-08-18 17:26:54 -03:00
parent 4b3f2a86a9
commit 3eff51bb89
2 changed files with 4 additions and 4 deletions

View File

@ -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) static void set_history_style(struct gui_hist *h, bool current)
{ {
struct gui_ctx *ctx = h->ctx; struct gui_ctx *ctx = h->ctx;

View File

@ -27,6 +27,10 @@
#define BG_OLD 1.0, 0.8, 0.8, 0.8 #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_default;
extern struct overlay_style overlay_style_dense; extern struct overlay_style overlay_style_dense;
extern struct overlay_style overlay_style_diff_new; extern struct overlay_style overlay_style_diff_new;