diff options
author | stevenhoefel | 2017-02-06 12:46:52 +1100 |
---|---|---|
committer | stevenhoefel | 2017-02-06 12:47:41 +1100 |
commit | c48273d9134b8739fa57e5b29c48aa23bdac3d28 (patch) | |
tree | dd4f9e3b2f58b4fcc2825965eb054cb28df85575 /graphics | |
parent | 551e336155131ba941b6d5b700a6d59cbe1cbd6c (diff) | |
download | scummvm-rg350-c48273d9134b8739fa57e5b29c48aa23bdac3d28.tar.gz scummvm-rg350-c48273d9134b8739fa57e5b29c48aa23bdac3d28.tar.bz2 scummvm-rg350-c48273d9134b8739fa57e5b29c48aa23bdac3d28.zip |
GRAPHICS: Return line count of formatted MacText.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/mactext.h | 1 |
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; } |