From 9bb1c5371affb2ff0b83256470dec7461b404264 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 4 May 2017 11:48:08 +0200 Subject: Beginning of tk.lua --- src/lib/include/kogata/draw.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/include') diff --git a/src/lib/include/kogata/draw.h b/src/lib/include/kogata/draw.h index 470ab4c..d96f2ee 100644 --- a/src/lib/include/kogata/draw.h +++ b/src/lib/include/kogata/draw.h @@ -63,8 +63,8 @@ font_t *g_load_ttf_font(const char* filename); void g_incref_font(font_t *f); void g_decref_font(font_t *f); -int g_text_width(font_t *f, const char* text); -int g_text_height(font_t *f, const char* text); +int g_text_width(font_t *f, const char* text, int size); +int g_text_height(font_t *f, const char* text, int size); void g_write(fb_t *fb, int x, int y, const char* text, font_t *font, int size, color_t c); -- cgit v1.2.3