Usermode/AxWin3 - Bugfixing rendering/layout issues
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / include / wm_internals.h
1 /*
2  * Acess2 Window Manager v3 (axwin3)
3  * - By John Hodge (thePowersGang)
4  *
5  * include/wm_internals.h
6  * - Window management internal definitions
7  */
8 #ifndef _WM_INTERNALS_H_
9 #define _WM_INTERNALS_H_
10
11 #include <wm.h>
12
13 struct sWindow
14 {
15         tWindow *NextSibling;
16         tWindow *PrevSibling;
17
18         // Render tree
19         tWindow *Parent;
20         tWindow *FirstChild;
21         tWindow *LastChild;
22
23         tIPC_Client     *Client;
24         uint32_t        ID;     //!< Client assigned ID
25         tWMRenderer     *Renderer;
26
27         char    *Title;
28
29          int    Flags;
30
31          int    BorderL, BorderR;
32          int    BorderT, BorderB;
33
34          int    RealW, RealH;   
35
36          int    X, Y;
37          int    W, H;
38
39         void    *RendererInfo;  
40
41         void    *RenderBuffer;  //!< Cached copy of the rendered window
42 };
43
44 #endif
45

UCC git Repository :: git.ucc.asn.au