[Scummvm-cvs-logs] SF.net SVN: scummvm: [28011] scummvm/trunk/engines/agi

buddha_ at users.sourceforge.net buddha_ at users.sourceforge.net
Tue Jul 10 19:04:10 CEST 2007


Revision: 28011
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28011&view=rev
Author:   buddha_
Date:     2007-07-10 10:04:09 -0700 (Tue, 10 Jul 2007)

Log Message:
-----------
Oops. AgiButtonStyle::getColor's color parameters were bool rather than int. Fixed.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/agi.cpp
    scummvm/trunk/engines/agi/agi.h

Modified: scummvm/trunk/engines/agi/agi.cpp
===================================================================
--- scummvm/trunk/engines/agi/agi.cpp	2007-07-10 15:45:30 UTC (rev 28010)
+++ scummvm/trunk/engines/agi/agi.cpp	2007-07-10 17:04:09 UTC (rev 28011)
@@ -554,7 +554,7 @@
 			return AgiTextColor(pcBlack, pcWhite);
 }
 
-AgiTextColor AgiButtonStyle::getColor(bool hasFocus, bool pressed, bool baseFgColor, bool baseBgColor) const {
+AgiTextColor AgiButtonStyle::getColor(bool hasFocus, bool pressed, int baseFgColor, int baseBgColor) const {
 	return getColor(hasFocus, pressed, AgiTextColor(baseFgColor, baseBgColor));
 }
 

Modified: scummvm/trunk/engines/agi/agi.h
===================================================================
--- scummvm/trunk/engines/agi/agi.h	2007-07-10 15:45:30 UTC (rev 28010)
+++ scummvm/trunk/engines/agi/agi.h	2007-07-10 17:04:09 UTC (rev 28011)
@@ -375,7 +375,7 @@
 	 * @param baseFgColor Foreground color of the button when it has no focus and is not being pressed.
 	 * @param baseBgColor Background color of the button when it has no focus and is not being pressed.
 	 */
-	AgiTextColor getColor(bool hasFocus, bool pressed, bool baseFgColor, bool baseBgColor) const;
+	AgiTextColor getColor(bool hasFocus, bool pressed, int baseFgColor, int baseBgColor) const;
 
 	/**
 	 * Get the color of a button with the given base color and state ignoring current style.


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