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 497908e4ab19614d24b67fd7dd4c52ba3a32899a..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;
struct WinMeta {
WINDOW * screen;
WINDOW * pad;
@@
-11,8
+15,7
@@
struct WinMeta {
struct Win {
struct Win * prev;
struct Win * next;
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;
uint16_t width;
uint16_t height;
WINDOW * curses;