From 74ea6dc86646cee9915292d73d8c7afef01ef3e0 Mon Sep 17 00:00:00 2001 From: Sopár Adrián Date: Thu, 20 Jun 2024 09:28:14 +0200 Subject: First commit. This is mostly the state of the project as I left it around the end of 2019. --- src/color.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/color.h (limited to 'src/color.h') diff --git a/src/color.h b/src/color.h new file mode 100644 index 0000000..ce1e3d3 --- /dev/null +++ b/src/color.h @@ -0,0 +1,16 @@ +#ifndef H_MAZE_COLOR +#define H_MAZE_COLOR + +#include + +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 \ No newline at end of file -- cgit v1.2.3