aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-10-02 22:01:24 -0400
committerPaul Gilbert2017-10-02 22:01:24 -0400
commit2c79c257a3b0b8a5aa9d3b4a508ec4784e3e3da9 (patch)
tree81c569144a4bf886562c995d448eddc338fee0e8 /engines
parent93e18ba7c38f2a700a66dca91dd147748f2dc161 (diff)
downloadscummvm-rg350-2c79c257a3b0b8a5aa9d3b4a508ec4784e3e3da9.tar.gz
scummvm-rg350-2c79c257a3b0b8a5aa9d3b4a508ec4784e3e3da9.tar.bz2
scummvm-rg350-2c79c257a3b0b8a5aa9d3b4a508ec4784e3e3da9.zip
TITANIC: DE: Allow for two lines in PET Rooms tab tooltips
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/pet_control/pet_rooms.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_rooms.cpp b/engines/titanic/pet_control/pet_rooms.cpp
index f26f98aea3..45ed209d5c 100644
--- a/engines/titanic/pet_control/pet_rooms.cpp
+++ b/engines/titanic/pet_control/pet_rooms.cpp
@@ -22,6 +22,7 @@
#include "titanic/pet_control/pet_rooms.h"
#include "titanic/pet_control/pet_control.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -202,8 +203,8 @@ bool CPetRooms::setupControl(CPetControl *petControl) {
if (!petControl)
return false;
- Rect rect1(0, 0, 470, 15);
- rect1.moveTo(32, 445);
+ Rect rect1(0, 0, 470, TRANSLATE(15, 32));
+ rect1.moveTo(32, TRANSLATE(445, 439));
_text.setBounds(rect1);
_text.setHasBorder(false);