aboutsummaryrefslogtreecommitdiff
path: root/libgui/inc/gfx.h
diff options
context:
space:
mode:
authorMarvin Borner2020-11-05 17:30:39 +0100
committerMarvin Borner2020-11-05 17:32:53 +0100
commit63e86f792167e6cc2e9600d00b184a3c83fe7498 (patch)
tree31e2d583be3ebf34782f6ec37f6c524657c40686 /libgui/inc/gfx.h
parent916fca2161e76de67a5106b90baf00a57f2a0512 (diff)
Added warning flags and fixed them :)
Diffstat (limited to 'libgui/inc/gfx.h')
-rw-r--r--libgui/inc/gfx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgui/inc/gfx.h b/libgui/inc/gfx.h
index 0b37d84..58a03cb 100644
--- a/libgui/inc/gfx.h
+++ b/libgui/inc/gfx.h
@@ -67,8 +67,8 @@ struct context {
struct font *gfx_resolve_font(enum font_type font_type);
void gfx_write_char(struct context *ctx, int x, int y, enum font_type font_type, u32 c, char ch);
void gfx_write(struct context *ctx, int x, int y, enum font_type font_type, u32 c, char *text);
-void gfx_load_image(struct context *ctx, char *path, int x, int y);
-void gfx_load_wallpaper(struct context *ctx, char *path);
+void gfx_load_image(struct context *ctx, const char *path, int x, int y);
+void gfx_load_wallpaper(struct context *ctx, const char *path);
void gfx_copy(struct context *dest, struct context *src, int x, int y, u32 width, u32 height);
void gfx_ctx_on_ctx(struct context *dest, struct context *src, int x, int y);
void gfx_draw_rectangle(struct context *ctx, int x1, int y1, int x2, int y2, u32 c);