diff options
author | Paul Gilbert | 2016-04-23 17:13:07 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:11:51 -0400 |
commit | a8d4e827d23110e978319a2a6d7f036d16c7f66a (patch) | |
tree | 83fd150aa5eabdd296c7e1821488b6af49e81478 | |
parent | fc3f2952b097cd0d465efe0216b11602c5ab0191 (diff) | |
download | scummvm-rg350-a8d4e827d23110e978319a2a6d7f036d16c7f66a.tar.gz scummvm-rg350-a8d4e827d23110e978319a2a6d7f036d16c7f66a.tar.bz2 scummvm-rg350-a8d4e827d23110e978319a2a6d7f036d16c7f66a.zip |
TITANIC: Correct coordinates in CPetQuit setup
-rw-r--r-- | engines/titanic/pet_control/pet_quit.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_quit.cpp b/engines/titanic/pet_control/pet_quit.cpp index c191e30ceb..7dcaba895c 100644 --- a/engines/titanic/pet_control/pet_quit.cpp +++ b/engines/titanic/pet_control/pet_quit.cpp @@ -30,14 +30,15 @@ namespace Titanic { bool CPetQuit::setup(CPetControl *petControl, CPetGlyphs *owner) { CPetGlyph::setup(petControl, owner); + Rect tempRect(0, 0, 280, 16); - tempRect.moveTo(32, 407); + tempRect.moveTo(322, 407); _text.setBounds(tempRect); _text.resize(3); _text.setHasBorder(true); _text.setup(); - Rect btnRect(0, 0, 496, 388); + Rect btnRect(0, 0, 68, 52); btnRect.moveTo(496, 388); _btnYes.setBounds(btnRect); @@ -62,7 +63,7 @@ bool CPetQuit::reset() { } void CPetQuit::draw2(CScreenManager *screenManager) { -// _text.draw(screenManager); + _text.draw(screenManager); _btnYes.draw(screenManager); } |