X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin2_src%2FWM%2Fvideo_text.c;fp=Usermode%2FApplications%2Faxwin2_src%2FWM%2Fvideo_text.c;h=3d680d5d188ee0420fae2d803c2cec1cbc317a55;hb=ad2ec62655e1d6eb8f2b4a4684eb5d7952aea0fb;hp=b776424867f3859065aa993176d548ee842fa7ad;hpb=524b2b8fac4cc652c707bb0cddcb730dede3d7b1;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin2_src/WM/video_text.c b/Usermode/Applications/axwin2_src/WM/video_text.c index b7764248..3d680d5d 100644 --- a/Usermode/Applications/axwin2_src/WM/video_text.c +++ b/Usermode/Applications/axwin2_src/WM/video_text.c @@ -2,6 +2,7 @@ * Acess GUI (AxWin) Version 2 * By John Hodge (thePowersGang) */ +#include #include "common.h" typedef struct sGlyph { @@ -43,6 +44,7 @@ struct sFont { // === PROTOTYPES === int Video_DrawText(short X, short Y, short W, short H, tFont *Font, uint32_t Color, char *Text); +void Video_GetTextDims(tFont *Font, const char *Text, int *W, int *H); tGlyph *_GetGlyph(tFont *Font, uint32_t Codepoint); void _RenderGlyph(short X, short Y, tGlyph *Glyph, uint32_t Color); tGlyph *_SystemFont_CacheGlyph(tFont *Font, uint32_t Codepoint);