X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Finclude%2Fwm.h;h=914058ffadd6914ca7604c5f959a541e6ecf5c22;hb=HEAD;hp=7807c9013c53cbdf54273981dfafbe367ae52a20;hpb=f0c407e7d468bc5acfd8d436be7f79f6e6248421;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 7807c901..914058ff 100644 --- a/Usermode/Applications/axwin3_src/WM/include/wm.h +++ b/Usermode/Applications/axwin3_src/WM/include/wm.h @@ -24,6 +24,10 @@ #define WINFLAG_NODECORATE 0x00000002 //! Window takes up all of screen #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 @@ -45,12 +49,15 @@ 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_Invalidate(tWindow *Window); +extern void WM_DestroyWindow(tWindow *Window); +extern tWindow *WM_GetWindowByID(tWindow *Requester, uint32_t ID); +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); extern void WM_ShowWindow(tWindow *Window, int bShow); extern void WM_DecorateWindow(tWindow *Window, int bDecorate); +extern void WM_SetRelative(tWindow *Window, int bRelativeToParent); extern int WM_ResizeWindow(tWindow *Window, int W, int H); extern int WM_MoveWindow(tWindow *Window, int X, int Y); extern int WM_SendMessage(tWindow *Source, tWindow *Dest, int MessageID, int Length, const void *Data);