home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use yx_uint16 struct for Win struct start coordinates.
[plomrogue]
/
windows.h
diff --git
a/windows.h
b/windows.h
index 3518c372ae4a7078171bb42cfde7fc933788faf6..b5be37f28c4a7742ca6d455706f5b2b4d482df63 100644
(file)
--- 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;