diff options
Diffstat (limited to 'Src/Wasabi/api/font/fontapi.h')
-rw-r--r-- | Src/Wasabi/api/font/fontapi.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Src/Wasabi/api/font/fontapi.h b/Src/Wasabi/api/font/fontapi.h new file mode 100644 index 00000000..3a169ac3 --- /dev/null +++ b/Src/Wasabi/api/font/fontapi.h @@ -0,0 +1,20 @@ +#ifndef __FONTAPI_H +#define __FONTAPI_H + +#include <api/font/api_font.h> + +class FontApi : public api_font +{ +public: + FontApi(); + ~FontApi(); + void font_textOut(ifc_canvas *c, int style, int x, int y, int w, int h, const wchar_t *txt); + int font_getInfo(ifc_canvas *c, const wchar_t *font, int infoid, const wchar_t *txt, int *w, int *h); + +protected: + RECVS_DISPATCH; +}; + +extern api_font *fontApi; + +#endif |