X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Finclude%2Fwm_internals.h;h=9ab29f8648a5c0d5a3abcce6984a3c7a1a6ae763;hb=bfacdd3b71576cf6ceaa83352d3a7d162adb75e1;hp=43c8db5db882b81853af5dfca5e3b7f5e3ac3740;hpb=dc30fc07186728379a6afbdc7f68f929ba0ca03b;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/WM/include/wm_internals.h b/Usermode/Applications/axwin3_src/WM/include/wm_internals.h index 43c8db5d..9ab29f86 100644 --- a/Usermode/Applications/axwin3_src/WM/include/wm_internals.h +++ b/Usermode/Applications/axwin3_src/WM/include/wm_internals.h @@ -12,21 +12,39 @@ struct sWindow { - tWindow *GlobalNext; - tWindow *RenderNext; + tWindow *Owner; + // Render tree + tWindow *Parent; tWindow *FirstChild; tWindow *LastChild; - - tWMRenderer *Renderer; - - int X; - int Y; - int W; - int H; + tWindow *NextSibling; + tWindow *PrevSibling; + + tIPC_Client *Client; + uint32_t ID; //!< Client assigned ID + tWMRenderer *Renderer; void *RendererInfo; + char *Title; + + int Flags; + + // Text Cursor + int CursorX, CursorY; + int CursorW, CursorH; + + // Gutter sizes (cached from decorator) + int BorderL, BorderR; + int BorderT, BorderB; + + // Position and dimensions + int X, Y; + int RealW, RealH; + int W, H; + + void *RenderBuffer; //!< Cached copy of the rendered window }; #endif