diff options
author | Eugene Sandulenko | 2017-07-30 22:46:19 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-01 10:42:22 +0200 |
commit | 62a2ac8c2bf2113e6cd96c232f6d68bcb6d42929 (patch) | |
tree | d24ab72a1f802e7393c6efea237802d6af8c8f1e /graphics | |
parent | 15d0d12c719cafaddf59274fd3052491f79f222a (diff) | |
download | scummvm-rg350-62a2ac8c2bf2113e6cd96c232f6d68bcb6d42929.tar.gz scummvm-rg350-62a2ac8c2bf2113e6cd96c232f6d68bcb6d42929.tar.bz2 scummvm-rg350-62a2ac8c2bf2113e6cd96c232f6d68bcb6d42929.zip |
GRAPHICS: MACGUI: Added more getters to MacText
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/mactext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/macgui/mactext.h b/graphics/macgui/mactext.h index 526d5266dc..2f001f782a 100644 --- a/graphics/macgui/mactext.h +++ b/graphics/macgui/mactext.h @@ -93,6 +93,7 @@ public: // 0 pixels between the lines by default ~MacText(); + int getInterLinear() { return _interLinear; } void setInterLinear(int interLinear); void draw(ManagedSurface *g, int x, int y, int w, int h, int xoff, int yoff); @@ -103,6 +104,7 @@ public: void replaceLastLine(Common::String str); void removeLastLine(); int getLineCount() { return _textLines.size(); } + int getTextHeight() { return _textMaxHeight; } void render(); Graphics::ManagedSurface *getSurface() { return _surface; } |