[Scummvm-git-logs] scummvm master -> 742a7fbb2ca405c14aa7ee7561c236c1f67df4fd
sev-
sev at scummvm.org
Mon Aug 7 13:06:44 CEST 2017
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c5b28a171b GRAPHICS: MACGUI: Do not resize MacTextWindow when not necessary
742a7fbb2c WAGE: Resize console window for new scene (restore lost functionality)
Commit: c5b28a171b55a24ce6f574fbabe2305d9a68b513
https://github.com/scummvm/scummvm/commit/c5b28a171b55a24ce6f574fbabe2305d9a68b513
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-08-07T13:05:35+02:00
Commit Message:
GRAPHICS: MACGUI: Do not resize MacTextWindow when not necessary
Changed paths:
graphics/macgui/mactextwindow.cpp
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index 905eaa5..5bbd956 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -76,6 +76,9 @@ MacTextWindow::MacTextWindow(MacWindowManager *wm, const MacFont *font, int fgco
}
void MacTextWindow::resize(int w, int h) {
+ if (_surface.w == w && _surface.h == h)
+ return;
+
undrawInput();
MacWindow::resize(w, h);
Commit: 742a7fbb2ca405c14aa7ee7561c236c1f67df4fd
https://github.com/scummvm/scummvm/commit/742a7fbb2ca405c14aa7ee7561c236c1f67df4fd
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-08-07T13:06:12+02:00
Commit Message:
WAGE: Resize console window for new scene (restore lost functionality)
Changed paths:
engines/wage/gui.cpp
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 8bda5d3..50b5694 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -152,6 +152,7 @@ void Gui::draw() {
_sceneWindow->setDimensions(*_scene->_designBounds);
_sceneWindow->setTitle(_scene->_name);
+ _consoleWindow->setDimensions(*_scene->_textBounds);
_wm.setFullRefresh(true);
}
More information about the Scummvm-git-logs
mailing list