15818
|
1 #ifndef GNT_COLORS_H
|
|
2 #define GNT_COLORS_H
|
|
3
|
|
4 #include <glib.h>
|
|
5
|
|
6 typedef enum
|
|
7 {
|
|
8 GNT_COLOR_NORMAL = 1,
|
|
9 GNT_COLOR_HIGHLIGHT, /* eg. when a button is selected */
|
|
10 GNT_COLOR_DISABLED, /* eg. when a button is disabled */
|
|
11 GNT_COLOR_HIGHLIGHT_D, /* eg. when a button is selected, but some other window is in focus */
|
|
12 GNT_COLOR_TEXT_NORMAL,
|
|
13 GNT_COLOR_TEXT_INACTIVE, /* when the entry is out of focus */
|
|
14 GNT_COLOR_MNEMONIC,
|
|
15 GNT_COLOR_MNEMONIC_D,
|
|
16 GNT_COLOR_SHADOW,
|
|
17 GNT_COLOR_TITLE,
|
|
18 GNT_COLOR_TITLE_D,
|
|
19 GNT_COLOR_URGENT, /* this is for the 'urgent' windows */
|
|
20 GNT_COLORS
|
|
21 } GntColorType;
|
|
22
|
|
23 enum
|
|
24 {
|
|
25 GNT_COLOR_BLACK = 0,
|
|
26 GNT_COLOR_RED,
|
|
27 GNT_COLOR_GREEN,
|
|
28 GNT_COLOR_BLUE,
|
|
29 GNT_COLOR_WHITE,
|
|
30 GNT_COLOR_GRAY,
|
|
31 GNT_COLOR_DARK_GRAY,
|
|
32 GNT_TOTAL_COLORS
|
|
33 };
|
|
34
|
|
35 /* populate some default colors */
|
|
36 void gnt_init_colors(void);
|
|
37
|
|
38 void gnt_uninit_colors(void);
|
|
39
|
|
40 #if GLIB_CHECK_VERSION(2,6,0)
|
|
41 void gnt_colors_parse(GKeyFile *kfile);
|
|
42
|
|
43 void gnt_color_pairs_parse(GKeyFile *kfile);
|
|
44 #endif
|
|
45
|
|
46 #endif
|