X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Finclude%2Fwm_internals.h;h=45769e80f58c2a760c1173e9bd8b2b4ab819f8d2;hb=4c78a1bdd506cda6cda27ee342165c7dfa7ecdc2;hp=aada7203b7ddda41cd3d5daf6d42b3df995b5958;hpb=d4f7058c6c83d0088efa6872a6746ecb0748c018;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 aada7203..45769e80 100644 --- a/Usermode/Applications/axwin3_src/WM/include/wm_internals.h +++ b/Usermode/Applications/axwin3_src/WM/include/wm_internals.h @@ -12,24 +12,38 @@ struct sWindow { - tWindow *NextSibling; - tWindow *PrevSibling; + tWindow *Owner; + // Render tree tWindow *Parent; - tWindow *FirstChild; tWindow *LastChild; - + tWindow *NextSibling; + tWindow *PrevSibling; + + tIPC_Client *Client; + uint32_t ID; //!< Client assigned ID + tWMRenderer *Renderer; + void *RendererInfo; + + char *Title; int Flags; - - int X; - int Y; - int W; - int H; - void *RendererInfo; + // 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 W, H; + int RealX, RealY; + int RealW, RealH; void *RenderBuffer; //!< Cached copy of the rendered window };