aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactext.h
diff options
context:
space:
mode:
authorstevenhoefel2017-02-06 12:46:52 +1100
committerstevenhoefel2017-02-06 12:47:41 +1100
commitc48273d9134b8739fa57e5b29c48aa23bdac3d28 (patch)
treedd4f9e3b2f58b4fcc2825965eb054cb28df85575 /graphics/macgui/mactext.h
parent551e336155131ba941b6d5b700a6d59cbe1cbd6c (diff)
downloadscummvm-rg350-c48273d9134b8739fa57e5b29c48aa23bdac3d28.tar.gz
scummvm-rg350-c48273d9134b8739fa57e5b29c48aa23bdac3d28.tar.bz2
scummvm-rg350-c48273d9134b8739fa57e5b29c48aa23bdac3d28.zip
GRAPHICS: Return line count of formatted MacText.
Diffstat (limited to 'graphics/macgui/mactext.h')
-rw-r--r--graphics/macgui/mactext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/macgui/mactext.h b/graphics/macgui/mactext.h
index 2ce0c3065b..08fa9eb7b2 100644
--- a/graphics/macgui/mactext.h
+++ b/graphics/macgui/mactext.h
@@ -96,6 +96,7 @@ public:
void draw(ManagedSurface *g, int x, int y, int w, int h, int xoff, int yoff);
void appendText(Common::String str);
void replaceLastLine(Common::String str);
+ int getLineCount() { return _text.size(); }
void render();
Graphics::ManagedSurface *getSurface() { return _surface; }