diff -r eb4c25284a19 -r 0e947b487b18 sources/basics.h --- a/sources/basics.h Mon May 04 15:51:03 2015 +0300 +++ b/sources/basics.h Mon May 04 18:16:05 2015 +0300 @@ -64,6 +64,23 @@ NUM_COLORS }; +#define TEXTCOLOR_Escape "\x1C" +#define TEXTCOLOR_Black TEXTCOLOR_Escape "M" +#define TEXTCOLOR_Gray TEXTCOLOR_Escape "U" +#define TEXTCOLOR_Silver TEXTCOLOR_Escape "C" +#define TEXTCOLOR_White TEXTCOLOR_Escape "J" +#define TEXTCOLOR_Red TEXTCOLOR_Escape "R" +#define TEXTCOLOR_BrightRed TEXTCOLOR_Escape "G" +#define TEXTCOLOR_Green TEXTCOLOR_Escape "Q" +#define TEXTCOLOR_BrightGreen TEXTCOLOR_Escape "D" +#define TEXTCOLOR_Yellow TEXTCOLOR_Escape "K" +#define TEXTCOLOR_BrightYellow TEXTCOLOR_Escape "F" +#define TEXTCOLOR_Blue TEXTCOLOR_Escape "H" +#define TEXTCOLOR_BrightBlue TEXTCOLOR_Escape "N" +#define TEXTCOLOR_Magenta TEXTCOLOR_Escape "T" +#define TEXTCOLOR_BrightCyan TEXTCOLOR_Escape "V" +#define TEXTCOLOR_Reset TEXTCOLOR_Escape "-" + // ------------------------------------------------------------------------------------------------- // FUNCTION print_to_console (String a) -> void;