home · contact · privacy
Sorted out library dependencies / includes. Include every header file needed by each...
[plomrogue] / src / windows.h
index c194907b6c41046fc784b76d367829a506d7d3f8..9391233dc8dfc3ad4111298cc6a39b2fb785285e 100644 (file)
@@ -1,6 +1,9 @@
-struct yx_uint16 {
-  uint16_t y;
-  uint16_t x; };
+#ifndef WINDOWS_H
+#define WINDOWS_H
+
+#include <stdint.h>
+#include <ncurses.h>
+#include "yx_uint16.h"
 
 struct Frame {
   WINDOW * curses_win;
@@ -33,3 +36,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