git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/AxWin3 - Fixed undefined memory usage
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
WM
/
include
/
wm_internals.h
diff --git
a/Usermode/Applications/axwin3_src/WM/include/wm_internals.h
b/Usermode/Applications/axwin3_src/WM/include/wm_internals.h
index
92bde4a
..
45769e8
100644
(file)
--- a/
Usermode/Applications/axwin3_src/WM/include/wm_internals.h
+++ b/
Usermode/Applications/axwin3_src/WM/include/wm_internals.h
@@
-12,31
+12,38
@@
struct sWindow
{
struct sWindow
{
- tWindow *NextSibling;
- tWindow *PrevSibling;
+ tWindow *Owner;
// Render tree
tWindow *Parent;
tWindow *FirstChild;
tWindow *LastChild;
// Render tree
tWindow *Parent;
tWindow *FirstChild;
tWindow *LastChild;
+ tWindow *NextSibling;
+ tWindow *PrevSibling;
tIPC_Client *Client;
uint32_t ID; //!< Client assigned ID
tIPC_Client *Client;
uint32_t ID; //!< Client assigned ID
+
tWMRenderer *Renderer;
tWMRenderer *Renderer;
+ void *RendererInfo;
char *Title;
int Flags;
char *Title;
int Flags;
+ // Text Cursor
+ int CursorX, CursorY;
+ int CursorW, CursorH;
+
+ // Gutter sizes (cached from decorator)
int BorderL, BorderR;
int BorderT, BorderB;
int BorderL, BorderR;
int BorderT, BorderB;
- int RealW, RealH;
-
+ // Position and dimensions
int X, Y;
int W, H;
int X, Y;
int W, H;
-
- void *RendererInfo;
+ int RealX, RealY;
+ int RealW, RealH;
void *RenderBuffer; //!< Cached copy of the rendered window
};
void *RenderBuffer; //!< Cached copy of the rendered window
};
UCC
git Repository :: git.ucc.asn.au