X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Finclude%2Fwm.h;h=a5a779fcbbd4520405c1272d58b92091b02ff7f1;hb=dc30fc07186728379a6afbdc7f68f929ba0ca03b;hp=56118f61234f5fb64096afed571351757f657424;hpb=21d938f9041683280a2d5ed44ef0bca278210829;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 56118f61..a5a779fc 100644 --- a/Usermode/Applications/axwin3_src/WM/include/wm.h +++ b/Usermode/Applications/axwin3_src/WM/include/wm.h @@ -20,11 +20,19 @@ * \} */ +// === TYPES === +typedef struct sWindow tWindow; +typedef struct sWMRenderer tWMRenderer; +typedef uint32_t tColour; + // === FUNCTIONS === -extern tWindow *WM_CreateWindow(tWindow *Parent, int X, int Y, int W, int H, int Flags, tRenderer *Handler); +// --- Management +extern tWindow *WM_CreateWindow(tWindow *Parent, int Flags, const char *Renderer); extern int WM_Reposition(tWindow *Window, int X, int Y, int W, int H); extern int WM_SetFlags(tWindow *Window, int Flags); extern int WM_SendMessage(tWindow *Window, int MessageID, int Length, void *Data); +// --- Rendering +extern void WM_Render_FilledRect(tWindow *Window, tColour Colour, int X, int Y, int W, int H); #endif