aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/text32.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/graphics/text32.h')
-rw-r--r--engines/sci/graphics/text32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/graphics/text32.h b/engines/sci/graphics/text32.h
index bfd5ebc606..c8fafb287f 100644
--- a/engines/sci/graphics/text32.h
+++ b/engines/sci/graphics/text32.h
@@ -236,6 +236,11 @@ public:
void setFont(const GuiResourceId fontId);
/**
+ * Gets the pixel height of the currently loaded font.
+ */
+ int16 getScaledFontHeight() const;
+
+ /**
* Gets the width of a character.
*/
uint16 getCharWidth(const char charIndex, const bool doScaling) const;