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:
committed by
Maarten ter Huurne
parent
a468b33d1e
commit
b08a285b37
@@ -23,6 +23,7 @@ public:
|
||||
~Font();
|
||||
|
||||
int getTextWidth(const std::string& text);
|
||||
int getTextHeight(const std::string& text);
|
||||
|
||||
int getLineSpacing()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user