2 * Acess2 Window Manager v3 (axwin3)
3 * - By John Hodge (thePowersGang)
6 * - Window management functions
17 #define WINFLAG_SHOW 0x00000001
18 //! Window contents are valid
19 #define WINFLAG_CLEAN 0x00000002
21 #define WINFLAG_RENDER_MASK 0x00FFFF00
22 #define WINFLAG_USR_MASK 0xFF000000
28 typedef struct sWindow tWindow;
29 typedef struct sWMRenderer tWMRenderer;
30 typedef uint32_t tColour;
34 extern tWindow *WM_CreateWindow(tWindow *Parent, int Flags, const char *Renderer);
35 extern void WM_ShowWindow(tWindow *Window, int bShow);
36 extern int WM_ResizeWindow(tWindow *Window, int W, int H);
37 extern int WM_MoveWindow(tWindow *Window, int X, int Y);
38 extern int WM_SendMessage(tWindow *Window, int MessageID, int Length, void *Data);
40 extern void WM_Render_FilledRect(tWindow *Window, tColour Colour, int X, int Y, int W, int H);