diff options
Diffstat (limited to 'graphics/macgui/mactext.h')
-rw-r--r-- | graphics/macgui/mactext.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/macgui/mactext.h b/graphics/macgui/mactext.h index 65e93ca5c3..e035eb123f 100644 --- a/graphics/macgui/mactext.h +++ b/graphics/macgui/mactext.h @@ -36,11 +36,12 @@ 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); private: void splitString(Common::String &s); void render(); + void render(int from, int to); void calcMaxWidth(); void reallocSurface(); @@ -56,7 +57,7 @@ private: int _textMaxWidth; - Graphics::ManagedSurface _surface; + Graphics::ManagedSurface *_surface; bool _fullRefresh; }; |