aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/gui.cpp
diff options
context:
space:
mode:
authorBorja Lorente2016-07-08 12:05:07 +0200
committerBorja Lorente2016-08-14 18:48:36 +0200
commit87540eaa8f2b6664ff916605bd8bc57a7658cec3 (patch)
tree1c843d970d04fc5adee860733f707b0bea407755 /engines/macventure/gui.cpp
parent528283fbe1abb33e61131f7372cda6e2192dbf70 (diff)
downloadscummvm-rg350-87540eaa8f2b6664ff916605bd8bc57a7658cec3.tar.gz
scummvm-rg350-87540eaa8f2b6664ff916605bd8bc57a7658cec3.tar.bz2
scummvm-rg350-87540eaa8f2b6664ff916605bd8bc57a7658cec3.zip
MACVENTURE: Fix error with second scene
Diffstat (limited to 'engines/macventure/gui.cpp')
-rw-r--r--engines/macventure/gui.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/macventure/gui.cpp b/engines/macventure/gui.cpp
index 9671dc0f5f..1c626fef81 100644
--- a/engines/macventure/gui.cpp
+++ b/engines/macventure/gui.cpp
@@ -683,11 +683,14 @@ void Gui::drawObjectsInWindow(WindowReference target, Graphics::ManagedSurface *
surface, pos.x, pos.y, kBlitOR);
// For test
+ /*
surface->frameRect(Common::Rect(
pos.x,
pos.y,
- pos.x + _assets[child]->getWidth(),
- pos.y + _assets[child]->getHeight()), kColorGreen);
+ pos.x + _assets[child]->getWidth() + 1,
+ pos.y + _assets[child]->getHeight() + 1), kColorGreen);
+ */
+
}
}
@@ -736,7 +739,6 @@ void Gui::drawDraggedObject() {
}
}
-
void Gui::updateWindow(WindowReference winID, bool containerOpen) {
if (winID == kNoWindow) return;
if (winID == kSelfWindow || containerOpen) {