diff options
author | Max Horn | 2006-08-04 13:55:53 +0000 |
---|---|---|
committer | Max Horn | 2006-08-04 13:55:53 +0000 |
commit | 1a10cacfb900c822ef5a53f455af7874675d37c5 (patch) | |
tree | fd1ed37141eada7894bf100aff7bdbf54da1e70b /gui/console.cpp | |
parent | ca7880df6cbbb7fbc5bf58230f2f6255b0289b37 (diff) | |
download | scummvm-rg350-1a10cacfb900c822ef5a53f455af7874675d37c5.tar.gz scummvm-rg350-1a10cacfb900c822ef5a53f455af7874675d37c5.tar.bz2 scummvm-rg350-1a10cacfb900c822ef5a53f455af7874675d37c5.zip |
Renamed handleScreenChanged() -> reflowLayout() in the GUI code
svn-id: r23662
Diffstat (limited to 'gui/console.cpp')
-rw-r--r-- | gui/console.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/console.cpp b/gui/console.cpp index 464216a0ad..a8ad636761 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -162,7 +162,7 @@ void ConsoleDialog::open() { // the console, or even outright crashes. This means _scrollLine is not // preserved, but that's a tiny sacrifice. - handleScreenChanged(); + reflowLayout(); Dialog::open(); if (_promptStartPos == -1) { @@ -214,7 +214,7 @@ void ConsoleDialog::drawLine(int line, bool restoreBg) { } } -void ConsoleDialog::handleScreenChanged() { +void ConsoleDialog::reflowLayout() { init(); _scrollLine = _promptEndPos / kLineWidth; @@ -222,7 +222,7 @@ void ConsoleDialog::handleScreenChanged() { _scrollLine = _linesPerPage - 1; updateScrollBuffer(); - Dialog::handleScreenChanged(); + Dialog::reflowLayout(); draw(); } |