[Scummvm-cvs-logs] SF.net SVN: scummvm:[39267] scummvm/branches/branch-0-13-0/engines/scumm/ dialogs.cpp

agent-q at users.sourceforge.net agent-q at users.sourceforge.net
Mon Mar 9 18:03:23 CET 2009


Revision: 39267
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39267&view=rev
Author:   agent-q
Date:     2009-03-09 17:03:23 +0000 (Mon, 09 Mar 2009)

Log Message:
-----------
Squish up text spacing in Scumm help dialog.

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/engines/scumm/dialogs.cpp

Modified: scummvm/branches/branch-0-13-0/engines/scumm/dialogs.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/engines/scumm/dialogs.cpp	2009-03-09 17:02:30 UTC (rev 39266)
+++ scummvm/branches/branch-0-13-0/engines/scumm/dialogs.cpp	2009-03-09 17:03:23 UTC (rev 39267)
@@ -651,7 +651,9 @@
 void HelpDialog::reflowLayout() {
 	ScummDialog::reflowLayout();
 
-	int lineHeight = g_gui.getFontHeight();
+	// The -3 makes the text on the help screen fit in 320x200 mode
+	// using the built-in theme.
+	int lineHeight = g_gui.getFontHeight() - 3;
 	int16 x, y;
 	uint16 w, h;
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list