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 a Win struct starty attribute too, instead of endlessly calling getbegy on curses...
[plomrogue]
/
windows.h
diff --git
a/windows.h
b/windows.h
index 3518c372ae4a7078171bb42cfde7fc933788faf6..497908e4ab19614d24b67fd7dd4c52ba3a32899a 100644
(file)
--- a/
windows.h
+++ b/
windows.h
@@
-11,6
+11,8
@@
struct WinMeta {
struct Win {
struct Win * prev;
struct Win * next;
+ uint16_t startx;
+ uint16_t starty;
uint16_t width;
uint16_t height;
WINDOW * curses;