diff options
Diffstat (limited to 'libgui/inc/gfx.h')
-rw-r--r-- | libgui/inc/gfx.h | 4 |
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); |