aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/text.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/menu/text.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/menu/text.hpp b/src/menu/text.hpp
index b172b2c3..cb8e8dc4 100644
--- a/src/menu/text.hpp
+++ b/src/menu/text.hpp
@@ -83,6 +83,13 @@ namespace usdx
*/
void realign(void);
+ /**
+ * Helper to create a Rectangle<int> object out of an FTBBox. This is
+ * used for converting the BBox from ftgl to the common internal format.
+ */
+ static Rectangle<int> makeRect(const FTBBox& bbox);
+
+
protected:
virtual void draw(void);