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