[Scummvm-cvs-logs] SF.net SVN: scummvm: [31387] scummvm/trunk/engines/kyra/staticres.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Apr 4 20:14:11 CEST 2008


Revision: 31387
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31387&view=rev
Author:   lordhoto
Date:     2008-04-04 11:14:10 -0700 (Fri, 04 Apr 2008)

Log Message:
-----------
Made sliders working.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/staticres.cpp

Modified: scummvm/trunk/engines/kyra/staticres.cpp
===================================================================
--- scummvm/trunk/engines/kyra/staticres.cpp	2008-04-04 18:11:44 UTC (rev 31386)
+++ scummvm/trunk/engines/kyra/staticres.cpp	2008-04-04 18:14:10 UTC (rev 31387)
@@ -1486,7 +1486,8 @@
 		GUI_V2_BUTTON(_sliderButtons[1][i], 0x1D+i, 0, 0, 1, 1, 1, 0x4487, 0, 0, 0, 0x0A, 0x0E, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0);
 	}
 	for (int i = 0; i < 3; ++i) {
-		GUI_V2_BUTTON(_sliderButtons[2][i], 0x21+i, 0, 0, 0, 0, 0, 0x2200, 0, 0, 0, 0x6E, 0x0E, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0);
+		// original used flags 0x2200 here, as long as our input code isn't 100% correct we have to use 0x1100 here though
+		GUI_V2_BUTTON(_sliderButtons[2][i], 0x21+i, 0, 0, 0, 0, 0, 0x1100, 0, 0, 0, 0x6E, 0x0E, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0);
 	}
 
 	for (uint i = 0; i < ARRAYSIZE(_menuButtons); ++i) {


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