diff options
author | fschildt <florian.schildt@protonmail.com> | 2025-08-22 15:23:11 +0200 |
---|---|---|
committer | fschildt <florian.schildt@protonmail.com> | 2025-08-22 15:23:11 +0200 |
commit | 2050c0e0576f05156f192aa4caf48834d2f28b14 (patch) | |
tree | ee58bd35b0df0a1bacfbc9700ed99ce80c99294e /src/client/draw.h |
Diffstat (limited to 'src/client/draw.h')
-rw-r--r-- | src/client/draw.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/client/draw.h b/src/client/draw.h new file mode 100644 index 0000000..b023afd --- /dev/null +++ b/src/client/draw.h @@ -0,0 +1,10 @@ +#include <os/os.h> +#include <client/font.h> +#include <basic/math.h> +#include <basic/string32.h> + +void draw_rectf32(OSOffscreenBuffer *screen, RectF32 rect, V3F32 color); +void draw_mono_bitmap(OSOffscreenBuffer *screen, V2F32 pos, Bitmap *bitmap, V3F32 color); +void draw_string32(OSOffscreenBuffer *screen, V2F32 pos, String32 *text, Font *font); +void draw_cursor(OSOffscreenBuffer *screen, V2F32 pos, Font *font, String32 *str, u32 cursor); +void draw_border(OSOffscreenBuffer *screen, RectF32 rect, f32 size, V3F32 color); |