added invert switch to support black on white terminals
[smdp.git] / include / viewer.h
index e8e8fcb..68c7a13 100644 (file)
@@ -7,7 +7,7 @@
  * faded in 256 color mode.
  * Copyright (C) 2014 Michael Goehler
  *
- * This file is part of mpd.
+ * This file is part of mdp.
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 
 #define FADE_DELAY 15000 // micro seconds
 
-int ncurses_display(deck_t *deck, int notrans, int nofade);
-void add_line(WINDOW *window, int y, int x, line_t *line, int max_cols);
-void fade_out(WINDOW *window, int trans, int colors);
-void fade_in(WINDOW *window, int trans, int colors);
+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, int invert);
+void fade_in(WINDOW *window, int trans, int colors, int invert);
 int int_length (int val);
 
 #endif // !defined( VIEWER_H )