mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-23 05:19:21 +02:00
eeshow/gui/history.c (RGBA, COLOR): move to style.h
This commit is contained in:
parent
4b3f2a86a9
commit
3eff51bb89
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user