aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/events.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2008-12-22 14:36:58 +0000
committerFilippos Karapetis2008-12-22 14:36:58 +0000
commit9a57f4239919370dd323d3962147daef91e32394 (patch)
treeb265200c370b52574a8eaee9a271f3061626c8a2 /engines/saga/events.cpp
parent3e0b81a99e47265eb793bbc58ac95825cbbc796f (diff)
downloadscummvm-rg350-9a57f4239919370dd323d3962147daef91e32394.tar.gz
scummvm-rg350-9a57f4239919370dd323d3962147daef91e32394.tar.bz2
scummvm-rg350-9a57f4239919370dd323d3962147daef91e32394.zip
logicalWidth -> width
logicalHeight -> height svn-id: r35488
Diffstat (limited to 'engines/saga/events.cpp')
-rw-r--r--engines/saga/events.cpp6
1 files changed, 3 insertions, 3 deletions
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);