summaryrefslogtreecommitdiff
path: root/firmware/rf test/Core/Inc/fonts.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/rf test/Core/Inc/fonts.h')
-rw-r--r--firmware/rf test/Core/Inc/fonts.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/firmware/rf test/Core/Inc/fonts.h b/firmware/rf test/Core/Inc/fonts.h
new file mode 100644
index 0000000..3a4cbc6
--- /dev/null
+++ b/firmware/rf test/Core/Inc/fonts.h
@@ -0,0 +1,22 @@
+#include <stdint.h>
+#include <stdlib.h>
+
+#ifndef _FONTS_H
+#define _FONTS_H
+
+#define NUMBER_OF_FONTS 1
+
+typedef struct {
+ uint8_t char_w;
+ uint8_t char_h;
+ uint8_t bytes_per_row;
+ uint8_t bytes_per_char;
+ uint8_t *font_bytes;
+ uint8_t *lookup;
+} bitmap_font_t;
+
+extern bitmap_font_t** fonts;
+
+void set_up_fonts();
+
+#endif