X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin2_src%2FWM%2Fcommon.h;h=7a455eed00b115b82a60e6dd6f33cc7ef43e4ea1;hb=92517b68b7582251f69db7e062d5e5a4c773791f;hp=2df0b55a9dc2d6a3364ac657122785b9e42b0978;hpb=ea71e58b0c3eca3744824fbd7e282ce47abfe334;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin2_src/WM/common.h b/Usermode/Applications/axwin2_src/WM/common.h index 2df0b55a..7a455eed 100644 --- a/Usermode/Applications/axwin2_src/WM/common.h +++ b/Usermode/Applications/axwin2_src/WM/common.h @@ -13,6 +13,8 @@ #include "image.h" //#include "font.h" +typedef struct sFont tFont; + // === GLOBALS === extern char *gsTerminalDevice; extern char *gsMouseDevice; @@ -30,7 +32,7 @@ extern void memset32(void *ptr, uint32_t val, size_t count); 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 void Video_DrawText(short X, short Y, short W, short H, void *Font, int Point, uint32_t Color, char *Text); +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, ...);