Usermode/AxWin3 - Implementing Client->Window resolution
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / include / wm.h
index 56118f6..a5a779f 100644 (file)
  * \}
  */
 
+// === 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
 

UCC git Repository :: git.ucc.asn.au