X-Git-Url: https://plomlompom.com/repos/do_todos?a=blobdiff_plain;f=windows.h;h=b5be37f28c4a7742ca6d455706f5b2b4d482df63;hb=51bb8a9fbcc7519e844dadbe06529ef2bb1fa288;hp=3518c372ae4a7078171bb42cfde7fc933788faf6;hpb=1d8dbdee6e32a1e877a6e8884be066b993a5b651;p=plomrogue diff --git a/windows.h b/windows.h index 3518c37..b5be37f 100644 --- a/windows.h +++ b/windows.h @@ -1,3 +1,7 @@ +struct yx_uint16 { + uint16_t y; + uint16_t x; }; + struct WinMeta { WINDOW * screen; WINDOW * pad; @@ -11,6 +15,7 @@ struct WinMeta { struct Win { struct Win * prev; struct Win * next; + struct yx_uint16 start; uint16_t width; uint16_t height; WINDOW * curses;