X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=windows.h;h=b5be37f28c4a7742ca6d455706f5b2b4d482df63;hb=51bb8a9fbcc7519e844dadbe06529ef2bb1fa288;hp=497908e4ab19614d24b67fd7dd4c52ba3a32899a;hpb=165320332a172d597e9b312d6b5d17af6abaa507;p=plomrogue diff --git a/windows.h b/windows.h index 497908e..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,8 +15,7 @@ struct WinMeta { struct Win { struct Win * prev; struct Win * next; - uint16_t startx; - uint16_t starty; + struct yx_uint16 start; uint16_t width; uint16_t height; WINDOW * curses;