-
Notifications
You must be signed in to change notification settings - Fork 149
/
theme.h
78 lines (73 loc) · 2.28 KB
/
theme.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
enum {
THEME_DEFAULT,
THEME_LIGHT,
THEME_DARK,
THEME_HIGHCONTRAST,
THEME_CUSTOM,
THEME_ZENBURN, // !!!!
// @TODO
// THEME_XRESOURCE
};
uint32_t COLOR_MAIN_BACKGROUND;
uint32_t COLOR_MAIN_TEXT;
uint32_t COLOR_MAIN_CHATTEXT;
uint32_t COLOR_MAIN_SUBTEXT;
uint32_t COLOR_MAIN_ACTIONTEXT;
uint32_t COLOR_MAIN_QUOTETEXT;
uint32_t COLOR_MAIN_URLTEXT;
uint32_t COLOR_MAIN_HINTTEXT;
uint32_t COLOR_MENU_BACKGROUND;
uint32_t COLOR_MENU_TEXT;
uint32_t COLOR_MENU_SUBTEXT;
uint32_t COLOR_MENU_HOVER_BACKGROUND;
uint32_t COLOR_MENU_ACTIVE_BACKGROUND;
uint32_t COLOR_MENU_ACTIVE_TEXT;
uint32_t COLOR_LIST_BACKGROUND;
uint32_t COLOR_LIST_HOVER_BACKGROUND;
uint32_t COLOR_LIST_TEXT;
uint32_t COLOR_LIST_SUBTEXT;
uint32_t COLOR_AUX_BACKGROUND;
uint32_t COLOR_AUX_EDGE_NORMAL;
uint32_t COLOR_AUX_EDGE_HOVER;
uint32_t COLOR_AUX_EDGE_ACTIVE;
uint32_t COLOR_AUX_TEXT;
uint32_t COLOR_AUX_ACTIVEOPTION_BACKGROUND;
uint32_t COLOR_AUX_ACTIVEOPTION_TEXT;
uint32_t COLOR_GROUP_SELF;
uint32_t COLOR_GROUP_PEER;
uint32_t COLOR_GROUP_AUDIO;
uint32_t COLOR_GROUP_MUTED;
uint32_t COLOR_SELECTION_BACKGROUND;
uint32_t COLOR_SELECTION_TEXT;
uint32_t COLOR_EDGE_NORMAL;
uint32_t COLOR_EDGE_ACTIVE;
uint32_t COLOR_EDGE_HOVER;
uint32_t COLOR_ACTIVEOPTION_BACKGROUND;
uint32_t COLOR_ACTIVEOPTION_TEXT;
uint32_t COLOR_STATUS_ONLINE;
uint32_t COLOR_STATUS_AWAY;
uint32_t COLOR_STATUS_BUSY;
uint32_t COLOR_BUTTON_SUCCESS_BACKGROUND;
uint32_t COLOR_BUTTON_SUCCESS_TEXT;
uint32_t COLOR_BUTTON_SUCCESS_HOVER_BACKGROUND;
uint32_t COLOR_BUTTON_SUCCESS_HOVER_TEXT;
uint32_t COLOR_BUTTON_WARNING_BACKGROUND;
uint32_t COLOR_BUTTON_WARNING_TEXT;
uint32_t COLOR_BUTTON_WARNING_HOVER_BACKGROUND;
uint32_t COLOR_BUTTON_WARNING_HOVER_TEXT;
uint32_t COLOR_BUTTON_DANGER_BACKGROUND;
uint32_t COLOR_BUTTON_DANGER_TEXT;
uint32_t COLOR_BUTTON_DANGER_HOVER_BACKGROUND;
uint32_t COLOR_BUTTON_DANGER_HOVER_TEXT;
uint32_t COLOR_BUTTON_DISABLED_BACKGROUND;
uint32_t COLOR_BUTTON_DISABLED_TEXT;
uint32_t COLOR_BUTTON_DISABLED_HOVER_BACKGROUND;
uint32_t COLOR_BUTTON_DISABLED_TRANSFER;
uint32_t COLOR_BUTTON_INPROGRESS_BACKGROUND;
uint32_t COLOR_BUTTON_INPROGRESS_TEXT;
void theme_load(char loadtheme);
void read_custom_theme(const char *path);
uint32_t status_color[4];
uint32_t theme;
extern const char *COLOUR_NAME_TABLE[];
extern uint32_t *COLOUR_POINTER_TABLE[];