X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Finclude%2Fwm.h;h=914058ffadd6914ca7604c5f959a541e6ecf5c22;hb=6df6a4c5493bd641a028c435be54c4d087f12000;hp=e060e246930d273160f70ee06dbe2ed9d1b003a4;hpb=1b9e758fbf856934974e847c3d5b348d237a0001;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/WM/include/wm.h b/Usermode/Applications/axwin3_src/WM/include/wm.h index e060e246..914058ff 100644 --- a/Usermode/Applications/axwin3_src/WM/include/wm.h +++ b/Usermode/Applications/axwin3_src/WM/include/wm.h @@ -26,6 +26,8 @@ #define WINFLAG_MAXIMIZED 0x00000004 //! Window is contained within the parent #define WINFLAG_RELATIVE 0x00000008 +//! Window needs to be reblitted (child moved or contents changed) +#define WINFLAG_NEEDREBLIT 0x00000020 //! Window contents are valid #define WINFLAG_CLEAN 0x00000040 //! All child windows are un-changed @@ -47,8 +49,9 @@ typedef struct sIPC_Client tIPC_Client; // === FUNCTIONS === // --- Management extern tWindow *WM_CreateWindow(tWindow *Parent, tIPC_Client *Client, uint32_t ID, int Flags, const char *Renderer); +extern void WM_DestroyWindow(tWindow *Window); extern tWindow *WM_GetWindowByID(tWindow *Requester, uint32_t ID); -extern void WM_Invalidate(tWindow *Window); +extern void WM_Invalidate(tWindow *Window, int bClearClean); extern void WM_SetWindowTitle(tWindow *Window, const char *Title); extern void WM_FocusWindow(tWindow *Destination); extern void WM_RaiseWindow(tWindow *Window);