GRAPHICS: MACGUI: Mark content as dirty when text is changed
This commit is contained in:
parent
4897f6618b
commit
77932d5838
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue