summaryrefslogtreecommitdiff
path: root/txtfont.h
diff options
context:
space:
mode:
Diffstat (limited to 'txtfont.h')
-rw-r--r--txtfont.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/txtfont.h b/txtfont.h
new file mode 100644
index 0000000..c2b73f4
--- /dev/null
+++ b/txtfont.h
@@ -0,0 +1,14 @@
+#ifndef __TXTFONT_H
+#define __TXTFONT_H
+
+#include "txtrender.h"
+
+unsigned int* GetFontChar(cTeletextChar c, unsigned int *buffer);
+// Get a character bitmap for character/charset
+// Also handle double width/height partial characters
+// buffer must be an unsigned int[10] buffer, that *may* be used
+// to store the character - a different pointer may be returned too.
+// returns NULL if undefined character
+
+
+#endif