From af338d77ee7f6469530233a70ccb450171ec5c66 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 23 Jun 2021 22:05:11 +0200 Subject: Started widgets and layout stuff --- libs/libgui/gfx.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libs/libgui/gfx.h') diff --git a/libs/libgui/gfx.h b/libs/libgui/gfx.h index cb89ff5..899bf4d 100644 --- a/libs/libgui/gfx.h +++ b/libs/libgui/gfx.h @@ -103,8 +103,7 @@ void gfx_write_char(struct gfx_context *ctx, vec2 pos, enum font_type font_type, void gfx_write(struct gfx_context *ctx, vec2 pos, enum font_type font_type, u32 c, const char *text) NONNULL; -int gfx_font_height(enum font_type); -int gfx_font_width(enum font_type); +vec2 gfx_font_size(enum font_type font_type); /** * Image loading -- cgit v1.2.3