*
*/
-#include <ncurses.h>
+#if WIN32 == 1
+# include <curses.h>
+#else
+# include <ncurses.h>
+#endif
#include "parser.h"
#include "cstack.h"
#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
-int ncurses_display(deck_t *deck, int notrans, int nofade);
+int ncurses_display(deck_t *deck, int notrans, int nofade, int invert);
void add_line(WINDOW *window, int y, int x, line_t *line, int max_cols, int colors);
-void fade_out(WINDOW *window, int trans, int colors);
-void fade_in(WINDOW *window, int trans, int colors);
+void fade_out(WINDOW *window, int trans, int colors, int invert);
+void fade_in(WINDOW *window, int trans, int colors, int invert);
int int_length (int val);
#endif // !defined( VIEWER_H )