home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0dabaa3
)
Re-structured externally visible windows library structs to more visibly separate...
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 25 Aug 2013 23:27:05 +0000
(
01:27
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 25 Aug 2013 23:27:05 +0000
(
01:27
+0200)
src/windows.h
patch
|
blob
|
history
diff --git
a/src/windows.h
b/src/windows.h
index 41211371bde6ad8d848256d94608cb90b0120e6f..ce6d7cbc6d0645f5bf59435ea5f9709973bea5e1 100644
(file)
--- a/
src/windows.h
+++ b/
src/windows.h
@@
-55,9
+55,9
@@
struct Win
struct Win * _prev; /* INTERNAL */ /* _prev == _next == 0 if */
struct Win * _next; /* INTERNAL */ /* Win is outside the chain */
struct yx_uint16 _start; /* INTERNAL: upper left corner of WINDOW */
struct Win * _prev; /* INTERNAL */ /* _prev == _next == 0 if */
struct Win * _next; /* INTERNAL */ /* Win is outside the chain */
struct yx_uint16 _start; /* INTERNAL: upper left corner of WINDOW */
- struct Frame frame;
char * _title; /* INTERNAL: title for window title bar */
void (* _draw) (struct Win *); /* INTERNAL: how to draw window content */
char * _title; /* INTERNAL: title for window title bar */
void (* _draw) (struct Win *); /* INTERNAL: how to draw window content */
+ struct Frame frame;
void * data; /* window content to be drawn by _draw() */
};
void * data; /* window content to be drawn by _draw() */
};
@@
-70,10
+70,10
@@
struct Win
struct WinMeta
{
WINDOW * _screen; /* INTERNAL: terminal screen */
struct WinMeta
{
WINDOW * _screen; /* INTERNAL: terminal screen */
- uint16_t pad_offset; /* number of cells view is moved to the right */
- struct Frame padframe; /* virtual screen fitted into terminal screen */
struct Win * _chain_start; /* INTERNAL: first Win, ._prev to point to 0 */
struct Win * _chain_end; /* INTERNAL: last Win, ._next to point to 0 */
struct Win * _chain_start; /* INTERNAL: first Win, ._prev to point to 0 */
struct Win * _chain_end; /* INTERNAL: last Win, ._next to point to 0 */
+ uint16_t pad_offset; /* number of cells view is moved to the right */
+ struct Frame padframe; /* virtual screen fitted into terminal screen */
struct Win * active; /* Win highlighted/selected for manipulation */
};
struct Win * active; /* Win highlighted/selected for manipulation */
};