[Scummvm-git-logs] scummvm master -> 5c5465190141ec4a291268eb91c7f5ee9048d031

dreammaster dreammaster at scummvm.org
Wed Oct 4 01:37:15 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:
5c54651901 TITANIC: DE: Fix dimensions of text area in PET Translation tab


Commit: 5c5465190141ec4a291268eb91c7f5ee9048d031
    https://github.com/scummvm/scummvm/commit/5c5465190141ec4a291268eb91c7f5ee9048d031
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-10-03T19:37:09-04:00

Commit Message:
TITANIC: DE: Fix dimensions of text area in PET Translation tab

Changed paths:
    engines/titanic/pet_control/pet_translation.cpp


diff --git a/engines/titanic/pet_control/pet_translation.cpp b/engines/titanic/pet_control/pet_translation.cpp
index 9509047..40d930f 100644
--- a/engines/titanic/pet_control/pet_translation.cpp
+++ b/engines/titanic/pet_control/pet_translation.cpp
@@ -26,14 +26,12 @@
 namespace Titanic {
 
 CPetTranslation::CPetTranslation() {
-	Rect rect1(0, 0, 580, 70);
-	rect1.translate(32, 368);
+	Rect rect1(32, 368, 586, 438);
 	_message.setBounds(rect1);
 	_message.resize(50);
 	_message.setHasBorder(false);
 
-	Rect rect2(0, 0, 580, 15);
-	rect2.translate(32, 445);
+	Rect rect2(32, 445, 586, 460);
 	_tooltip.setBounds(rect2);
 	_tooltip.setHasBorder(false);
 }





More information about the Scummvm-git-logs mailing list