summaryrefslogtreecommitdiff
path: root/ycurses/src/curses/color.h
diff options
context:
space:
mode:
authorPaul Buetow (mars.fritz.box) <paul@buetow.org>2013-12-15 11:49:02 +0100
committerPaul Buetow (mars.fritz.box) <paul@buetow.org>2013-12-15 11:49:02 +0100
commit3a96ab7e91145b367d05e98533b5f426f762f83f (patch)
treeac7758a706066e14b785ab6e5f7071a54baa856b /ycurses/src/curses/color.h
parent332d7b2107833018b3ef67b64ffe121bff1ef4fb (diff)
add packagespackages
Diffstat (limited to 'ycurses/src/curses/color.h')
-rw-r--r--ycurses/src/curses/color.h39
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