aboutsummaryrefslogtreecommitdiff
path: root/src/client/draw.h
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-08-22 15:23:11 +0200
committerfschildt <florian.schildt@protonmail.com>2025-08-22 15:23:11 +0200
commit2050c0e0576f05156f192aa4caf48834d2f28b14 (patch)
treeee58bd35b0df0a1bacfbc9700ed99ce80c99294e /src/client/draw.h
first commitHEADmaster
Diffstat (limited to 'src/client/draw.h')
-rw-r--r--src/client/draw.h10
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);