root/Colors.c

1
2
3
4
5
6
7
8
9
10
11
12
#include "Colors.h"

void Colors_init() {
    init_pair(Colors_Default, COLOR_WHITE, COLOR_BLACK);
    attron(COLOR_PAIR(Colors_Default));

    init_pair(Colors_Selected, COLOR_YELLOW, COLOR_BLACK);
    attron(COLOR_PAIR(Colors_Selected));

    init_pair(Colors_Rewatch, COLOR_YELLOW, COLOR_BLUE);
    attron(COLOR_PAIR(Colors_Rewatch));
}