aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-08-29 12:25:49 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-08-29 12:26:01 +0100
commitfac35c2ba1dbc9fbf4e4d2e499bb23586cc19c41 (patch)
tree86c5f73e35155902f8e78c3d43101a3eb4afa944 /include
parent9a75f5b9f691117df12cdf1893e17dcbe09fddeb (diff)
downloaduboxlib-dos-fac35c2ba1dbc9fbf4e4d2e499bb23586cc19c41.tar.gz
uboxlib-dos-fac35c2ba1dbc9fbf4e4d2e499bb23586cc19c41.zip
Add basic bitmap font rendering
Diffstat (limited to 'include')
-rw-r--r--include/ubox.h1
-rw-r--r--include/ubox_text.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ubox.h b/include/ubox.h
index cbf8d98..25d44eb 100644
--- a/include/ubox.h
+++ b/include/ubox.h
@@ -9,6 +9,7 @@
#include "ubox_joy.h"
#include "ubox_control.h"
#include "ubox_sound.h"
+#include "ubox_text.h"
#include "ubox_assets.h"
#endif /* _UBOX_H */
diff --git a/include/ubox_text.h b/include/ubox_text.h
new file mode 100644
index 0000000..49fef56
--- /dev/null
+++ b/include/ubox_text.h
@@ -0,0 +1,7 @@
+#ifndef _UBOX_TEXT_H
+#define _UBOX_TEXT_H
+
+void ubox_set_font(const uint8_t *pixdata);
+void ubox_put_text(uint16_t x, uint16_t y, const char *text, uint8_t color);
+
+#endif /* _TEXT_H */