a913021a180fd59ffd7bb113c3cfb4d92617687e
1 #ifndef COLORS_H
2 #define COLORS_H
4 #include <ncurses.h>
6 #define COLOR_TITLE 1
7 #define COLOR_TITLE_BOLD 2
8 #define COLOR_LINE 3
9 #define COLOR_LINE_BOLD 4
10 #define COLOR_LIST 5
11 #define COLOR_LIST_BOLD 6
12 #define COLOR_PROGRESSBAR 7
13 #define COLOR_STATUS 8
14 #define COLOR_STATUS_BOLD 9
15 #define COLOR_STATUS_TIME 10
16 #define COLOR_STATUS_ALERT 11
18 short colors_str2color(const char *str);
20 int colors_assign(const char *name, const char *value);
21 int colors_define(const char *name, short r, short g, short b);
22 int colors_start(void);
23 int colors_use(WINDOW *w, int id);
26 #endif /* COLORS_H */