diff options
author | Marvin Borner | 2020-11-19 20:03:54 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-19 20:03:54 +0100 |
commit | b014342841485737424bee31840fd848fa706536 (patch) | |
tree | cdf3580b787bab95d1b1e331fb778a7fd39dfad3 /libgui/inc | |
parent | d8036aa78139c7890d8adde6ee937929623dbffb (diff) |
Added some color
Diffstat (limited to 'libgui/inc')
-rw-r--r-- | libgui/inc/gfx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgui/inc/gfx.h b/libgui/inc/gfx.h index 58a03cb..0f4c631 100644 --- a/libgui/inc/gfx.h +++ b/libgui/inc/gfx.h @@ -66,7 +66,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_write(struct context *ctx, int x, int y, enum font_type font_type, u32 c, + const char *text); 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); |