X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=src%2Fwindows.h;h=53f1559facfad148de8d53934e5e2a794c625783;hb=c00feb07ac833c0133b6b1329e27350b2acc94c4;hp=c194907b6c41046fc784b76d367829a506d7d3f8;hpb=e9d8b1aca776341c9cdaa2ea6406336661d82a76;p=plomrogue diff --git a/src/windows.h b/src/windows.h index c194907..53f1559 100644 --- a/src/windows.h +++ b/src/windows.h @@ -1,6 +1,7 @@ -struct yx_uint16 { - uint16_t y; - uint16_t x; }; +#ifndef WINDOWS_H +#define WINDOWS_H + +#include "yx_uint16.h" struct Frame { WINDOW * curses_win; @@ -33,3 +34,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