-
Notifications
You must be signed in to change notification settings - Fork 38
/
themes.h
58 lines (53 loc) · 1.05 KB
/
themes.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
#ifndef THEMES_H
#define THEMES_H
#ifdef __cplusplus
extern "C" {
#endif
enum color_index
{
CLR_BACKGROUND,
CLR_FRAME,
CLR_WIN_TITLE,
CLR_MENU_ITEM_DIR,
CLR_MENU_ITEM_DIR_SELECTED,
CLR_MENU_ITEM_PLAYLIST,
CLR_MENU_ITEM_PLAYLIST_SELECTED,
CLR_MENU_ITEM_FILE,
CLR_MENU_ITEM_FILE_SELECTED,
CLR_MENU_ITEM_FILE_MARKED,
CLR_MENU_ITEM_FILE_MARKED_SELECTED,
CLR_MENU_ITEM_INFO,
CLR_MENU_ITEM_INFO_SELECTED,
CLR_MENU_ITEM_INFO_MARKED,
CLR_MENU_ITEM_INFO_MARKED_SELECTED,
CLR_STATUS,
CLR_TITLE,
CLR_STATE,
CLR_TIME_CURRENT,
CLR_TIME_LEFT,
CLR_TIME_TOTAL,
CLR_TIME_TOTAL_FRAMES,
CLR_SOUND_PARAMS,
CLR_LEGEND,
CLR_INFO_DISABLED,
CLR_INFO_ENABLED,
CLR_MIXER_BAR_EMPTY,
CLR_MIXER_BAR_FILL,
CLR_TIME_BAR_EMPTY,
CLR_TIME_BAR_FILL,
CLR_ENTRY,
CLR_ENTRY_TITLE,
CLR_ERROR,
CLR_MESSAGE,
CLR_PLIST_TIME,
CLR_LAST, /* Fake element to get number of colors */
CLR_WRONG
};
void theme_init (bool has_xterm);
int get_color (const enum color_index);
void themes_switch_theme (const char *file);
const char *get_current_theme ();
#ifdef __cplusplus
}
#endif
#endif