diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-08-22 15:23:11 +0200 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-10-15 11:33:23 +0200 |
| commit | 04e4627e6c11254ee6f49edf5feb1b8d711da41a (patch) | |
| tree | e28f2e62d3e1b83f9686cdeb102e3f47379e6793 /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); |
