diff options
author | Wilrik de Loose <wilrik@wilrik.nl> | 2008-05-09 12:20:24 (GMT) |
---|---|---|
committer | Wilrik de Loose <wilrik@wilrik.nl> | 2008-05-09 12:20:24 (GMT) |
commit | a27ce2390c22f195737fdf51a9f1fef2657ac320 (patch) | |
tree | 5bf4966b5bea97368ff57d603abb6844bd9ff3c6 /menu_demo/font.h | |
parent | 965ba5edf4b4db7bb32812c59fb0d011ed58e81a (diff) | |
download | 2iv55-a27ce2390c22f195737fdf51a9f1fef2657ac320.zip 2iv55-a27ce2390c22f195737fdf51a9f1fef2657ac320.tar.gz 2iv55-a27ce2390c22f195737fdf51a9f1fef2657ac320.tar.bz2 |
newest menu demo + resolved conflicts
Diffstat (limited to 'menu_demo/font.h')
-rw-r--r-- | menu_demo/font.h | 8 |
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;
|