From 60750501da4eb0c020e971b45ae3a964c903e12d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 28 Mar 2021 14:01:53 +0200 Subject: Fun with widgets --- libs/libgui/gfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/libgui/gfx.h') diff --git a/libs/libgui/gfx.h b/libs/libgui/gfx.h index 8ac01d0..1999b0c 100644 --- a/libs/libgui/gfx.h +++ b/libs/libgui/gfx.h @@ -62,7 +62,7 @@ struct context { u32 bytes; }; -struct context *gfx_new_ctx(struct context *ctx); +struct context *gfx_new_ctx(struct context *ctx, vec2 size, u8 bpp); struct font *gfx_resolve_font(enum font_type font_type); void gfx_write_char(struct context *ctx, vec2 pos, enum font_type font_type, u32 c, char ch); void gfx_write(struct context *ctx, vec2 pos, enum font_type font_type, u32 c, const char *text); -- cgit v1.2.3