Add macros MAX() and MIN().
[smdp.git] / include / viewer.h
index 68c7a13..b790085 100644 (file)
  *
  */
 
-#include <ncurses.h>
+#if WIN32 == 1
+# include <curses.h>
+#else
+# include <ncurses.h>
+#endif
 
 #include "parser.h"
 #include "cstack.h"
@@ -41,6 +45,7 @@
 #define CP_BLUE   2 // 123
 #define CP_RED    3 // 213
 #define CP_YELLOW 4 // 208
+#define CP_BLACK  5 // CP_WHITE with foreground and background swapped
 
 #define FADE_DELAY 15000 // micro seconds