[Scummvm-git-logs] scummvm master -> 2c79c257a3b0b8a5aa9d3b4a508ec4784e3e3da9
dreammaster
dreammaster at scummvm.org
Tue Oct 3 04:01:38 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2c79c257a3 TITANIC: DE: Allow for two lines in PET Rooms tab tooltips
Commit: 2c79c257a3b0b8a5aa9d3b4a508ec4784e3e3da9
https://github.com/scummvm/scummvm/commit/2c79c257a3b0b8a5aa9d3b4a508ec4784e3e3da9
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-10-02T22:01:24-04:00
Commit Message:
TITANIC: DE: Allow for two lines in PET Rooms tab tooltips
Changed paths:
engines/titanic/pet_control/pet_rooms.cpp
diff --git a/engines/titanic/pet_control/pet_rooms.cpp b/engines/titanic/pet_control/pet_rooms.cpp
index f26f98a..45ed209 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);
More information about the Scummvm-git-logs
mailing list