diff options
Diffstat (limited to 'src/character.h')
-rw-r--r-- | src/character.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/character.h b/src/character.h index b5ea368..0afdf0d 100644 --- a/src/character.h +++ b/src/character.h @@ -2,8 +2,13 @@ #define _CHARACTER_H_ #include <stdint.h> +#include <stdio.h> +#include <stdlib.h> #include <string.h> +#define COLOR_FG 1 +#define COLOR_BG 2 + //Both maps produce very different results extern const char *default_character_map; @@ -11,4 +16,6 @@ extern const char *default_character_map; //if _custom_map == NULL default map is used char calc_char(uint8_t _c, uint8_t _min, uint8_t _max, char *_custom_map); +char *calc_col_ansi(uint8_t R, uint8_t G, uint8_t B, uint8_t _mode); + #endif //_CHARACTER_H_ |