1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

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-23 10:03:03 +00:00
committed by Maarten ter Huurne
parent a468b33d1e
commit b08a285b37
3 changed files with 32 additions and 11 deletions

View File

@@ -23,6 +23,7 @@ public:
~Font();
int getTextWidth(const std::string& text);
int getTextHeight(const std::string& text);
int getLineSpacing()
{