aboutsummaryrefslogtreecommitdiff
path: root/src/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/color.h')
-rw-r--r--src/color.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/color.h b/src/color.h
index 70a8b16..a2f82d3 100644
--- a/src/color.h
+++ b/src/color.h
@@ -8,7 +8,9 @@
#include "m.h"
-#define _COLORS_SIZE 16u
+#define _COLORS_SIZE 16u
+#define COLOR_FG 1
+#define COLOR_BG 2
struct console_color
{
@@ -28,7 +30,7 @@ uint8_t rgb_luminance(uint8_t R, uint8_t G, uint8_t B);
//Get nearest printable color in console
char *calc_col(uint8_t R, uint8_t G, uint8_t B);
-char *calc_col_ansi(uint8_t R, uint8_t G, uint8_t B);
+char *calc_col_ansi(uint8_t R, uint8_t G, uint8_t B, uint8_t _mode);
char *calc_bg_col_ansi(uint8_t R, uint8_t G, uint8_t B);
#endif //_COLOR_H_