diff options
author | Eugene Sandulenko | 2017-02-06 08:41:09 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-02-06 08:41:09 +0100 |
commit | 6ea020d5f1cdc8adfb0bfbe23906d0727a78c558 (patch) | |
tree | 157d5fadb32bd6244b2e7b3661128adb94e520dc /graphics/macgui/mactext.h | |
parent | e13806148bac0038c0879e4dcd4145d5558f5b99 (diff) | |
download | scummvm-rg350-6ea020d5f1cdc8adfb0bfbe23906d0727a78c558.tar.gz scummvm-rg350-6ea020d5f1cdc8adfb0bfbe23906d0727a78c558.tar.bz2 scummvm-rg350-6ea020d5f1cdc8adfb0bfbe23906d0727a78c558.zip |
GRAPHICS: Cleanup MacText code
Diffstat (limited to 'graphics/macgui/mactext.h')
-rw-r--r-- | graphics/macgui/mactext.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/macgui/mactext.h b/graphics/macgui/mactext.h index 08fa9eb7b2..4df4f1c3aa 100644 --- a/graphics/macgui/mactext.h +++ b/graphics/macgui/mactext.h @@ -96,7 +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(); } + int getLineCount() { return _textLines.size(); } void render(); Graphics::ManagedSurface *getSurface() { return _surface; } @@ -119,8 +119,6 @@ private: int _maxWidth; int _interLinear; - Common::Array<Common::String> _text; - int _textMaxWidth; int _textMaxHeight; |