diff options
author | Eugene Sandulenko | 2016-04-15 10:18:16 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-04-15 17:24:15 +0200 |
commit | cdb4fc1fbfb23e83f9a8b87eaa99a05c7ba59d98 (patch) | |
tree | 8c47e2e8ebd65de6c4e702e8cb2bc061afb58554 /engines | |
parent | cb06c712c7d3a99bdcae4f77cb88a854388f0944 (diff) | |
download | scummvm-rg350-cdb4fc1fbfb23e83f9a8b87eaa99a05c7ba59d98.tar.gz scummvm-rg350-cdb4fc1fbfb23e83f9a8b87eaa99a05c7ba59d98.tar.bz2 scummvm-rg350-cdb4fc1fbfb23e83f9a8b87eaa99a05c7ba59d98.zip |
WAGE: Simplify border drawing
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/gui.cpp | 1 | ||||
-rw-r--r-- | engines/wage/macwindow.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index 6914fdbf49..6808ba23b3 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -284,6 +284,7 @@ void Gui::drawScene() { MacWindow *w = _wm.getWindow(_sceneWindowId); w->setDimensions(*_scene->_designBounds); + w->setTitle(_scene->_name); _scene->paint(w->getSurface(), 0, 0); w->draw(&_screen); g_system->copyRectToScreen(_screen.getBasePtr(_scene->_designBounds->left, _scene->_designBounds->top), diff --git a/engines/wage/macwindow.cpp b/engines/wage/macwindow.cpp index 865bd2dab4..c5b65b3b5b 100644 --- a/engines/wage/macwindow.cpp +++ b/engines/wage/macwindow.cpp @@ -102,7 +102,7 @@ void MacWindow::draw(Graphics::ManagedSurface *g, bool forceRedraw) { drawBorder(); // Compose - _composeSurface.blitFrom(_surface, _surface.getBounds(), Common::Point(0, 0)); + _composeSurface.blitFrom(_surface); _composeSurface.transBlitFrom(_borderSurface, kColorGreen); g->transBlitFrom(_composeSurface, _composeSurface.getBounds(), Common::Point(_dims.left, _dims.top), kColorGreen2); |