From 62a2ac8c2bf2113e6cd96c232f6d68bcb6d42929 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 30 Jul 2017 22:46:19 +0200 Subject: GRAPHICS: MACGUI: Added more getters to MacText --- graphics/macgui/mactext.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics/macgui/mactext.h') 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; } -- cgit v1.2.3