Root/eeshow/gui/style.h

1/*
2 * gui/style.h - GUI: overlay styles
3 *
4 * Written 2016 by Werner Almesberger
5 * Copyright 2016 by Werner Almesberger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13#ifndef GUI_STYLE_H
14#define GUI_STYLE_H
15
16#include "gui/over.h"
17
18
19#define NORMAL_FONT "Helvetica 10"
20#define BOLD_FONT "Helvetica Bold 10"
21
22#define FRAME_SEL_ONLY 0.0, 0.0, 0.0, 0.9
23#define FRAME_SEL_OLD 0.8, 0.2, 0.2, 0.9
24#define FRAME_SEL_NEW 0.0, 0.6, 0.0, 0.9
25
26#define BG_NEW 0.6, 1.0, 0.6, 0.8
27#define BG_OLD 1.0, 0.8, 0.8, 0.8
28
29
30#define RGBA(r, g, b, a) ((struct color) { (r), (g), (b), (a) })
31#define COLOR(color) RGBA(color)
32
33
34extern struct overlay_style overlay_style_default;
35extern struct overlay_style overlay_style_dense;
36extern struct overlay_style overlay_style_diff_new;
37extern struct overlay_style overlay_style_diff_old;
38
39#endif /* !GUI_STYLE_H */
40

Archive Download this file

Branches:
master



interactive