diff options
author | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2022-10-07 16:42:35 +0200 |
---|---|---|
committer | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2022-10-07 16:42:35 +0200 |
commit | 1155e97dab101fd1215e12ff8737048b0f6bedaf (patch) | |
tree | 91ac7806d9c39593a5c6972e9fe02fa6fbb882b0 /stage3/gfx.h | |
parent | f8397815545adb7d0da36614e0065aa68453a2e4 (diff) | |
download | cuddles-1155e97dab101fd1215e12ff8737048b0f6bedaf.tar.xz |
Font rendering
Diffstat (limited to 'stage3/gfx.h')
-rw-r--r-- | stage3/gfx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stage3/gfx.h b/stage3/gfx.h index e4e5d8b..cf89a9e 100644 --- a/stage3/gfx.h +++ b/stage3/gfx.h @@ -8,14 +8,14 @@ extern struct __attribute__((packed)) GfxInfo { u16 width; u16 height; u32 framebuffer; -} *gfxinfo; +} *gfx_info; typedef struct { u8 r, g, b, a; } color; u32 make_color(color col); -void set_pixel(u16 x, u16 y, u32 col); -void set_region(u16 x, u16 y, u16 w, u16 h, u32 col); +void gfx_set_pixel(u16 x, u16 y, u32 col); +void gfx_set_area(u16 x, u16 y, u16 w, u16 h, u32 col); #endif |