Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/text.h')
-rw-r--r--src/render/text.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/render/text.h b/src/render/text.h
index 4762639..631f1cd 100644
--- a/src/render/text.h
+++ b/src/render/text.h
@@ -43,17 +43,21 @@ public:
/// set the font
static void setfont(const char *texture, float width, float height);
-
+
/// set the color
static void setcolor(const char color);
/// current font width
- static inline float fontwidth() { return text_fontwidth; }
+ static inline float fontwidth() {
+ return text_fontwidth;
+ }
/// current font height
- static inline float fontheight() { return text_fontheight; }
+ static inline float fontheight() {
+ return text_fontheight;
+ }
- enum Color {Black=0, Red=1, Green=2, Yellow=3, Blue=4, Cyan=5, Magenta=6, White=7};
+ enum Color {Black = 0, Red = 1, Green = 2, Yellow = 3, Blue = 4, Cyan = 5, Magenta = 6, White = 7};
static math::Color * base_color[10];
static math::Color * core_color[26];