[Scummvm-cvs-logs] SF.net SVN: scummvm: [22925] scummvm/trunk/gui/theme-config.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Mon Jun 5 09:12:32 CEST 2006


Revision: 22925
Author:   eriktorbjorn
Date:     2006-06-05 00:12:28 -0700 (Mon, 05 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22925&view=rev

Log Message:
-----------
Base the width of the SCUMM options dialog, classic theme, on buttonWidth,
rather than hard-coding it. This should fix bug #1500674.

Modified Paths:
--------------
    scummvm/trunk/gui/theme-config.cpp
Modified: scummvm/trunk/gui/theme-config.cpp
===================================================================
--- scummvm/trunk/gui/theme-config.cpp	2006-06-05 02:07:25 UTC (rev 22924)
+++ scummvm/trunk/gui/theme-config.cpp	2006-06-05 07:12:28 UTC (rev 22925)
@@ -264,7 +264,7 @@
 "useWithPrefix=subtitleControls scummconfig_\n"
 "opYoffset=(opYoffset + buttonHeight)\n"
 "opYoffset=(opYoffset + buttonHeight + 4)\n"
-"soWidth=255\n"
+"soWidth=(38 + 3 * buttonWidth)\n"
 "scummconfig_keys=(soWidth - 3 * (buttonWidth + 4) + 6) opYoffset (buttonWidth - 10) buttonHeight\n"
 "scummconfig_cancel=(prev.x2 + 4) prev.y (prev.w + 10) prev.h\n"
 "scummconfig_ok=(prev.x2 + 4) prev.y prev.w prev.h\n"


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