Fix the bounding box of message boxes

Multi-line message boxes had the incorrect height.

I also took the opportunity to make named constants out of magic numbers
making up the various message box dimensions.
This commit is contained in:
Nebuleon Fumika
2014-07-24 09:00:22 +02:00
committed by Maarten ter Huurne
parent a468b33d1e
commit b08a285b37
3 changed files with 32 additions and 11 deletions
+1
View File
@@ -23,6 +23,7 @@ public:
~Font();
int getTextWidth(const std::string& text);
int getTextHeight(const std::string& text);
int getLineSpacing()
{