home · contact · privacy
Use yx_uint16 struct for WinMeta and Win struct size attributes.
[plomrogue] / windows.h
index b5be37f28c4a7742ca6d455706f5b2b4d482df63..1f3dfa0fd3d9094be287aabe6a2593e63cf2cfa7 100644 (file)
--- a/windows.h
+++ b/windows.h
@@ -9,15 +9,13 @@ struct WinMeta {
   struct Win * chain_start;
   struct Win * chain_end;
   struct Win * active;
-  uint16_t width;
-  uint16_t height; };
+  struct yx_uint16 size; };
 
 struct Win {
   struct Win * prev;
   struct Win * next;
   struct yx_uint16 start;
-  uint16_t width;
-  uint16_t height;
+  struct yx_uint16 size;
   WINDOW * curses;
   char * title;
   void (* draw) (struct Win *);