aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-15 10:48:52 +0200
committerEugene Sandulenko2016-04-15 17:24:15 +0200
commit78dc8be3dcb099ac1ba33748fefbe5f2aa2966bd (patch)
treeec12e952d3d6dbbaa5ed14e2dc56f1f1c610837d /engines
parentcdb4fc1fbfb23e83f9a8b87eaa99a05c7ba59d98 (diff)
downloadscummvm-rg350-78dc8be3dcb099ac1ba33748fefbe5f2aa2966bd.tar.gz
scummvm-rg350-78dc8be3dcb099ac1ba33748fefbe5f2aa2966bd.tar.bz2
scummvm-rg350-78dc8be3dcb099ac1ba33748fefbe5f2aa2966bd.zip
WAGE: Fix window composing offset
Diffstat (limited to 'engines')
-rw-r--r--engines/wage/macwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/macwindow.cpp b/engines/wage/macwindow.cpp
index c5b65b3b5b..1551dacb78 100644
--- a/engines/wage/macwindow.cpp
+++ b/engines/wage/macwindow.cpp
@@ -102,10 +102,10 @@ void MacWindow::draw(Graphics::ManagedSurface *g, bool forceRedraw) {
drawBorder();
// Compose
- _composeSurface.blitFrom(_surface);
+ _composeSurface.blitFrom(_surface, Common::Rect(0, 0, _surface.w - 2, _surface.h - 2), Common::Point(2, 2));
_composeSurface.transBlitFrom(_borderSurface, kColorGreen);
- g->transBlitFrom(_composeSurface, _composeSurface.getBounds(), Common::Point(_dims.left, _dims.top), kColorGreen2);
+ g->transBlitFrom(_composeSurface, _composeSurface.getBounds(), Common::Point(_dims.left - 2, _dims.top - 2), kColorGreen2);
}
const Graphics::Font *MacWindow::getTitleFont() {