Fixed compile issues in AxWin2 WM
[tpg/acess2.git] / Usermode / Applications / axwin2_src / WM / common.h
index 13379fa..7a455ee 100644 (file)
 #include <stdint.h>
 
 #include "wm.h"
+#include "image.h"
+//#include "font.h"
+
+typedef struct sFont   tFont;
 
 // === GLOBALS ===
 extern char    *gsTerminalDevice;
@@ -24,5 +28,12 @@ extern int   giMouseFD;
 
 // === Functions ===
 extern void    memset32(void *ptr, uint32_t val, size_t count);
-
+// --- Video ---
+extern void    Video_Update(void);
+extern void    Video_FillRect(short X, short Y, short W, short H, uint32_t Color);
+extern void    Video_DrawRect(short X, short Y, short W, short H, uint32_t Color);
+extern int     Video_DrawText(short X, short Y, short W, short H, tFont *Font, uint32_t Color, char *Text);
+extern void Video_DrawImage(short X, short Y, short W, short H, tImage *Image);
+// --- Debug Hack ---
+extern void    _SysDebug(const char *Format, ...);
 #endif

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