home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Corrected broken if.
[plomrogue]
/
windows.h
diff --git
a/windows.h
b/windows.h
index 690ba44eebdf9f36c490be14449fa0bf9b3e8b1d..262c17602a6cd47bd3b4905406ec90803cdcf5ab 100644
(file)
--- a/
windows.h
+++ b/
windows.h
@@
-1,9
+1,12
@@
struct WinMeta {
struct WinMeta {
+ WINDOW * screen;
+ WINDOW * pad;
+ int pad_offset;
struct Win * chain_start;
struct Win * chain_end;
struct Win * active;
struct Win * chain_start;
struct Win * chain_end;
struct Win * active;
- int
height
;
- int
width
; };
+ int
width
;
+ int
height
; };
struct Win {
struct Win * prev;
struct Win {
struct Win * prev;
@@
-11,8
+14,6
@@
struct Win {
int width;
int height;
WINDOW * curses_win;
int width;
int height;
WINDOW * curses_win;
- char border_left;
- char border_down;
char * title;
void (* draw) (struct Win *);
void * data; };
char * title;
void (* draw) (struct Win *);
void * data; };