diff options
author | Marvin Borner | 2021-03-28 14:01:53 +0200 |
---|---|---|
committer | Marvin Borner | 2021-03-28 14:01:53 +0200 |
commit | 60750501da4eb0c020e971b45ae3a964c903e12d (patch) | |
tree | fc95ff546a7acaa22327bd27dc098230f820c531 /libs/libgui/gfx.h | |
parent | ba2c07447ba1278d8ad38ca58a8ae94c82d2d008 (diff) |
Fun with widgets
Diffstat (limited to 'libs/libgui/gfx.h')
-rw-r--r-- | libs/libgui/gfx.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |