From 9a57f4239919370dd323d3962147daef91e32394 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 22 Dec 2008 14:36:58 +0000 Subject: logicalWidth -> width logicalHeight -> height svn-id: r35488 --- engines/saga/events.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/saga/events.cpp') diff --git a/engines/saga/events.cpp b/engines/saga/events.cpp index b4a436fa31..9d862dcad1 100644 --- a/engines/saga/events.cpp +++ b/engines/saga/events.cpp @@ -180,8 +180,8 @@ int Events::handleContinuous(Event *event) { size_t len; _vm->_scene->getBGMaskInfo(w, h, maskBuffer, len); - rect.left = (_vm->getDisplayInfo().logicalWidth - w) / 2; - rect.top = (_vm->getDisplayInfo().logicalHeight - h) / 2; + rect.left = (_vm->getDisplayInfo().width - w) / 2; + rect.top = (_vm->getDisplayInfo().height - h) / 2; rect.setWidth(w); rect.setHeight(h); @@ -319,7 +319,7 @@ int Events::handleOneShot(Event *event) { backGroundSurface->blit(bgInfo.bounds, bgInfo.buffer); // If it is inset scene then draw black border - if (bgInfo.bounds.width() < _vm->getDisplayInfo().logicalWidth || bgInfo.bounds.height() < _vm->_scene->getHeight()) { + if (bgInfo.bounds.width() < _vm->getDisplayInfo().width || bgInfo.bounds.height() < _vm->_scene->getHeight()) { Common::Rect rect1(2, bgInfo.bounds.height() + 4); Common::Rect rect2(bgInfo.bounds.width() + 4, 2); Common::Rect rect3(2, bgInfo.bounds.height() + 4); -- cgit v1.2.3