home · contact · privacy
Moved lots of stuff into new library actors.
[plomrogue] / src / windows.h
index c194907b6c41046fc784b76d367829a506d7d3f8..e52f93bc612f422817ee33a84354ca3ffba979f8 100644 (file)
@@ -1,6 +1,8 @@
-struct yx_uint16 {
-  uint16_t y;
-  uint16_t x; };
+#ifndef WINDOWS_H
+#define WINDOWS_H
+
+#include "ncurses.h"
+#include "yx_uint16.h"
 
 struct Frame {
   WINDOW * curses_win;
@@ -33,3 +35,5 @@ extern void resize_active_win (struct WinMeta *, uint16_t, uint16_t);
 extern void cycle_active_win (struct WinMeta *, char);
 extern void shift_active_win (struct WinMeta *, char);
 extern void reset_pad_offset (struct WinMeta *, uint16_t);
+
+#endif