From 895a58b1b57a0ae8028576404a90f12e0133cf5f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 27 Apr 2021 23:32:05 +0200 Subject: Chess (-> and libgui) improvements --- libs/libgui/gfx.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/libgui/gfx.h') diff --git a/libs/libgui/gfx.h b/libs/libgui/gfx.h index 5cf12f8..d0d0e1e 100644 --- a/libs/libgui/gfx.h +++ b/libs/libgui/gfx.h @@ -83,6 +83,7 @@ void gfx_load_wallpaper(struct context *ctx, const char *path) NONNULL; void gfx_copy(struct context *dest, struct context *src, vec2 pos, vec2 size) NONNULL; void gfx_ctx_on_ctx(struct context *dest, struct context *src, vec2 pos, u8 alpha) NONNULL; void gfx_draw_rectangle(struct context *ctx, vec2 pos1, vec2 pos2, u32 c) NONNULL; +void gfx_clear(struct context *ctx); void gfx_fill(struct context *ctx, u32 c) NONNULL; void gfx_border(struct context *ctx, u32 c, u32 width) NONNULL; -- cgit v1.2.3