Usermode/AxWin3 - Fixed dropped messages due to small buffer size
[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 *Owner;
16
17         // Render tree
18         tWindow *Parent;
19         tWindow *FirstChild;
20         tWindow *LastChild;
21         tWindow *NextSibling;
22         tWindow *PrevSibling;
23
24         tIPC_Client     *Client;
25         uint32_t        ID;     //!< Client assigned ID
26
27         tWMRenderer     *Renderer;
28         void    *RendererInfo;  
29
30         char    *Title;
31
32          int    Flags;
33
34         // Text Cursor
35          int    CursorX, CursorY;
36          int    CursorW, CursorH;
37
38         // Gutter sizes (cached from decorator)
39          int    BorderL, BorderR;
40          int    BorderT, BorderB;
41
42         // Position and dimensions
43          int    X, Y;
44          int    W, H;
45          int    RealX, RealY;
46          int    RealW, RealH;
47
48         void    *RenderBuffer;  //!< Cached copy of the rendered window
49 };
50
51 #endif
52

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