summaryrefslogtreecommitdiffstats
path: root/menu_demo/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'menu_demo/font.h')
-rw-r--r--menu_demo/font.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/menu_demo/font.h b/menu_demo/font.h
index a7fa2a1..4e61850 100644
--- a/menu_demo/font.h
+++ b/menu_demo/font.h
@@ -1,9 +1,11 @@
#ifndef _CFONT_H
#define _CFONT_H
-#define FONT_WIDTH 32
-#define FONT_HEIGHT 32
-#define FONT_SPACING 20
+#define FONT_WIDTH 32 // width of a character (in the bitmap source!)
+#define FONT_HEIGHT 32 // height of a character (in the bitmap source!)
+#define FONT_SPACING 20 // spacing between characters when printing
+#define FONT_XCHAR 16 // number of characters aligned on the x-axis in the bitmap source
+#define FONT_COUNT 256 // number of characters in the bitmap source
struct ColorStruct {
double m_dRed;