[Scummvm-cvs-logs] scummvm master -> 40f82509e94a841130061296ff415048b3663571

dreammaster dreammaster at scummvm.org
Sun Jul 28 23:08:56 CEST 2013


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:
40f82509e9 TSAGE: Correct R2R width of conversation dialog


Commit: 40f82509e94a841130061296ff415048b3663571
    https://github.com/scummvm/scummvm/commit/40f82509e94a841130061296ff415048b3663571
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2013-07-28T14:07:57-07:00

Commit Message:
TSAGE: Correct R2R width of conversation dialog

Changed paths:
    engines/tsage/converse.cpp



diff --git a/engines/tsage/converse.cpp b/engines/tsage/converse.cpp
index d1cc7fb..46fb50b 100644
--- a/engines/tsage/converse.cpp
+++ b/engines/tsage/converse.cpp
@@ -444,7 +444,8 @@ int ConversationChoiceDialog::execute(const Common::StringArray &choiceList) {
 	_bounds.bottom -= 10;
 	yp = 180 - _bounds.height();
 	_bounds.translate(0, yp);
-	_bounds.right = _bounds.left + 280;
+	_bounds.setWidth(textMaxWidth() + 15);
+	_bounds.moveTo(160 - (_bounds.width() / 2), _bounds.top);
 
 	// Draw the dialog
 	draw();






More information about the Scummvm-git-logs mailing list