#ifndef SCREEN_H #define SCREEN_H #include namespace Screen { const int BLACK = 0; const int GRAY = 8; // FOREGROUND_INTENSITY; const int BLUE = 9; // FOREGROUND_RED|FOREGROUND_INTENSITY const int GREEN = 10; // FOREGROUND_GREEN|FOREGROUND_INTENSITY; const int RED = 12; // FOREGROUND_RED|FOREGROUND_INTENSITY const int YELLOW = RED | GREEN; const int WHITE = RED | GREEN | BLUE; const int BACKGROUND = 128; // OR (|) with the color value for gray background void write(std::string s, int x, int y, int color); }; #endif