summaryrefslogtreecommitdiffstats
path: root/src/graphics/common/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/common/text.h')
-rw-r--r--src/graphics/common/text.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/graphics/common/text.h b/src/graphics/common/text.h
index 5d41c5c..defa218 100644
--- a/src/graphics/common/text.h
+++ b/src/graphics/common/text.h
@@ -26,10 +26,10 @@ class CInstanceManager;
-#define SMALLFONT 10.0f
-#define BIGFONT 15.0f
+const float SMALLFONT = 10.0f;
+const float BIGFONT = 15.0f;
-#define NORMSTRETCH 0.8f
+const float NORMSTRETCH = 0.8f;
@@ -58,10 +58,10 @@ enum FontColor
COLOR_TABLE = 0x70,
};
-#define FONT_MASK 0x03
-#define TITLE_MASK 0x0c
-#define COLOR_MASK 0x70
-#define IMAGE_MASK 0x80
+const int FONT_MASK = 0x03;
+const int TITLE_MASK = 0x0c;
+const int COLOR_MASK = 0x70;
+const int IMAGE_MASK = 0x80;