root/Colors.h

1
2
3
4
5
6
7
8
9
10
11
12
#include <ncurses.h>

void Colors_init();

#define Colors_Default 1
#define Colors_Selected 2
#define Colors_Rewatch 3

#define Colors_set(id)                          \
    attron(COLOR_PAIR(id))
#define Colors_wset(window, id)                 \
    wattron(window, COLOR_PAIR(id))