Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/font.h')
-rw-r--r--src/ui/font.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/font.h b/src/ui/font.h
index b91120e..be08cfd 100644
--- a/src/ui/font.h
+++ b/src/ui/font.h
@@ -27,10 +27,16 @@ public:
return font_size;
}
+ /**
+ * @brief width of a single character
+ * */
inline float width() const {
return font_size.width();
}
+ /**
+ * @height width of a single character
+ * */
inline float height() const {
return font_size.height();
}