aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/drawer.h
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2021-12-22 21:36:13 -0800
committerChristian Cunningham <cc@localhost>2021-12-22 21:36:13 -0800
commit88df035f3e79a6dc7280e457bd343285e8313799 (patch)
treead81f37c2f1350c2d3b1b47495b1bb4b4889c2dd /src/graphics/drawer.h
parentce90c0aa44b1f07ddd59159ae60e6f63357d85b8 (diff)
Added fonts
Diffstat (limited to 'src/graphics/drawer.h')
-rw-r--r--src/graphics/drawer.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/graphics/drawer.h b/src/graphics/drawer.h
new file mode 100644
index 0000000..63b5194
--- /dev/null
+++ b/src/graphics/drawer.h
@@ -0,0 +1,17 @@
+#ifndef GRAPHICS_DRAWER_H
+#define GRAPHICS_DRAWER_H
+
+struct Drawer {
+ unsigned int x;
+ unsigned int y;
+};
+
+static struct Drawer g_Drawer;
+
+void write_cstring(struct Drawer* d, char* s, unsigned int c);
+void write_string(struct Drawer* d, char* s);
+void write_chex32(struct Drawer* d, unsigned long val, unsigned int c);
+void write_hex32(struct Drawer* d, unsigned long val);
+void set_drawer(struct Drawer* d, unsigned int x, unsigned int y);
+
+#endif