diff options
author | Eugene Sandulenko | 2017-08-02 10:17:28 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-04 21:54:19 +0200 |
commit | 77932d58388f2b68f74b540026f6b58b33b8fd86 (patch) | |
tree | a61e7e138410867da3c804592273d02274dff73b /graphics | |
parent | 4897f6618b6d4613f54a1ea323231454ece0c0c3 (diff) | |
download | scummvm-rg350-77932d58388f2b68f74b540026f6b58b33b8fd86.tar.gz scummvm-rg350-77932d58388f2b68f74b540026f6b58b33b8fd86.tar.bz2 scummvm-rg350-77932d58388f2b68f74b540026f6b58b33b8fd86.zip |
GRAPHICS: MACGUI: Mark content as dirty when text is changed
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/mactextwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index 182f1e0e1d..0d801ab286 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -74,12 +74,16 @@ void MacTextWindow::drawText(ManagedSurface *g, int x, int y, int w, int h, int void MacTextWindow::appendText(Common::String str, const MacFont *macFont) { _mactext->appendText(str, macFont->getId(), macFont->getSize(), macFont->getSlant()); + _contentIsDirty = true; + updateCursorPos(); } void MacTextWindow::clearText() { _mactext->clearText(); + _contentIsDirty = true; + updateCursorPos(); } |