aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorKari Salminen2007-07-10 17:04:09 +0000
committerKari Salminen2007-07-10 17:04:09 +0000
commitb2cae8fe15e243f1403aa27a18dafbca74831c21 (patch)
tree8d08e376c9fa104f4f3b22db2672f17237c30c4e /engines
parentbe23a6e1889f35cfa086729b7bd360d5cd5939bf (diff)
downloadscummvm-rg350-b2cae8fe15e243f1403aa27a18dafbca74831c21.tar.gz
scummvm-rg350-b2cae8fe15e243f1403aa27a18dafbca74831c21.tar.bz2
scummvm-rg350-b2cae8fe15e243f1403aa27a18dafbca74831c21.zip
Oops. AgiButtonStyle::getColor's color parameters were bool rather than int. Fixed.
svn-id: r28011
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/agi.cpp2
-rw-r--r--engines/agi/agi.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index cb02df1ecc..5343999727 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -554,7 +554,7 @@ AgiTextColor AgiButtonStyle::getColor(bool hasFocus, bool pressed, bool positive
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));
}
diff --git a/engines/agi/agi.h b/engines/agi/agi.h
index 5fe1b1b04b..e99e8c2b57 100644
--- a/engines/agi/agi.h
+++ b/engines/agi/agi.h
@@ -375,7 +375,7 @@ public:
* @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.