blob: ce1e3d3d9179d16e9f5939a32040e9ede1833107 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef H_MAZE_COLOR
#define H_MAZE_COLOR
#include <ncurses.h>
short get_color_code(short foreground, short background);
#define CI_DEFAULT get_color_code(COLOR_WHITE,COLOR_BLACK)
#define CI_LINE_INFO get_color_code(COLOR_BLACK,COLOR_CYAN)
#define CI_LINE_SUCCESS get_color_code(COLOR_BLACK,COLOR_GREEN)
#define CI_LINE_CMD get_color_code(COLOR_BLACK,COLOR_YELLOW)
#define CI_LINE_ERROR get_color_code(COLOR_BLACK,COLOR_RED)
void maze_color_init();
#endif
|