aboutsummaryrefslogtreecommitdiff
path: root/src/client/draw.h
diff options
context:
space:
mode:
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);