diff options
author | Strangerke | 2011-06-03 15:02:24 +0200 |
---|---|---|
committer | Strangerke | 2011-06-03 15:02:59 +0200 |
commit | d0f721b728772ac6377321723996f1b1d9f774b6 (patch) | |
tree | da16f11a4eed6fb915cf9e310f4289949efd3fea /engines/tsage/graphics.cpp | |
parent | 938415aca1bd8f51791fe6b6970323659f0178ff (diff) | |
download | scummvm-rg350-d0f721b728772ac6377321723996f1b1d9f774b6.tar.gz scummvm-rg350-d0f721b728772ac6377321723996f1b1d9f774b6.tar.bz2 scummvm-rg350-d0f721b728772ac6377321723996f1b1d9f774b6.zip |
TSAGE: Add proper colors to buttons in the CD version of ringworld
Diffstat (limited to 'engines/tsage/graphics.cpp')
-rw-r--r-- | engines/tsage/graphics.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp index cc11343c9c..f69d243f4d 100644 --- a/engines/tsage/graphics.cpp +++ b/engines/tsage/graphics.cpp @@ -589,6 +589,9 @@ void GfxElement::setDefaults() { _fontNumber = _globals->_gfxFontNumber; _colors = _globals->_gfxColors; _fontColors = _globals->_fontColors; + _unkColor1 = _globals->_unkColor1; + _unkColor2 = _globals->_unkColor2; + _unkColor3 = _globals->_unkColor3; } /** @@ -820,7 +823,11 @@ void GfxButton::draw() { // Set the font and color gfxManager._font.setFontNumber(_fontNumber); - gfxManager._font._colors.foreground = this->_colors.foreground; + + // + gfxManager._font._colors.foreground = this->_unkColor1; + gfxManager._font._colors2.background = this->_unkColor2; + gfxManager._font._colors2.foreground = this->_unkColor3; // Display the button's text Rect tempRect(_bounds); |