diff options
Diffstat (limited to 'ycurses/src/curses/color.h')
| -rw-r--r-- | ycurses/src/curses/color.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/ycurses/src/curses/color.h b/ycurses/src/curses/color.h deleted file mode 100644 index a59727c..0000000 --- a/ycurses/src/curses/color.h +++ /dev/null @@ -1,39 +0,0 @@ - -#ifndef COLOR_H -#define COLOR_H - -#include "incl.h" - -using namespace std; - -const short Red = COLOR_RED; -const short Green = COLOR_GREEN; -const short Yellow = COLOR_YELLOW; -const short Blue = COLOR_BLUE; -const short Cyan = COLOR_CYAN; -const short Magenta = COLOR_MAGENTA; -const short White = COLOR_WHITE; -const short Black = COLOR_BLACK; - -class color -{ - private: - void init(); - - static int i_pair_count; - short i_pair; - short i_foreground; - short i_background; - static bool b_activated; - - friend class curses; - - public: - color(short i, short j); - ~color(); - void enable(); - void disable(); - short get_num() { return i_pair; } -}; - -#endif |
