diff options
Diffstat (limited to 'engines/bladerunner/font.cpp')
-rw-r--r-- | engines/bladerunner/font.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/bladerunner/font.cpp b/engines/bladerunner/font.cpp index 8ab5cfab13..2f56b3f12d 100644 --- a/engines/bladerunner/font.cpp +++ b/engines/bladerunner/font.cpp @@ -136,6 +136,10 @@ int Font::getTextWidth(const Common::String &text) { return totalWidth - _spacing1; } +int Font::getTextHeight(const Common::String &text) { + return _maxHeight; +} + void Font::reset() { _maxWidth = 0; _maxHeight = 0; |