aboutsummaryrefslogtreecommitdiffstats
path: root/glcd/fonts.h
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-07-18 03:42:05 +0200
committerTectu <joel@unormal.org>2012-07-18 03:42:05 +0200
commit096701a6ad8f2ba5512aff4ee430ca0d626fff7a (patch)
tree647c32fb1ffbcc895b4b1ffa119c8c3ee88f9948 /glcd/fonts.h
parent24692be747aa4d94e264219d6f18bcc6beec76ff (diff)
downloaduGFX-096701a6ad8f2ba5512aff4ee430ca0d626fff7a.tar.gz
uGFX-096701a6ad8f2ba5512aff4ee430ca0d626fff7a.tar.bz2
uGFX-096701a6ad8f2ba5512aff4ee430ca0d626fff7a.zip
restructorizing
Diffstat (limited to 'glcd/fonts.h')
-rw-r--r--glcd/fonts.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/glcd/fonts.h b/glcd/fonts.h
new file mode 100644
index 00000000..245aa059
--- /dev/null
+++ b/glcd/fonts.h
@@ -0,0 +1,27 @@
+/*
+ * fonts.h
+ *
+ * File containing prototype of the fonts for display
+ *
+ *
+ */
+
+#include <stdint.h>
+
+#ifndef _FONT_
+#define _FONT_
+
+#define FONT_TABLE_HEIGHT_IDX 0
+#define FONT_TABLE_PAD_AFTER_CHAR_IDX 1
+#define FONT_TABLE_LINE_SPACING_IDX 2
+#define FONT_TABLE_DECENDERS_HEIGHT_IDX 3
+#define FONT_TABLE_UNUSED_IDX 4
+#define FONT_TABLE_CHAR_LOOKUP_IDX 5
+
+extern const uint8_t font_Small[];
+extern const uint8_t font_Larger[];
+//extern const uint8_t font_Medium[];
+extern const uint8_t font_MediumBold[];
+extern const uint8_t font_LargeNumbers[];
+
+#endif