diff options
| author | Filippos Karapetis | 2007-08-18 01:59:18 +0000 | 
|---|---|---|
| committer | Filippos Karapetis | 2007-08-18 01:59:18 +0000 | 
| commit | 0566bef99131925e5ca5a7d71bfadf4299b73c6e (patch) | |
| tree | c5d07bd15827bc91be132a1e7d018addbce9588a /engines/saga/interface.cpp | |
| parent | aa8db3f74fc6460087a919a79a380b5346d117d6 (diff) | |
| download | scummvm-rg350-0566bef99131925e5ca5a7d71bfadf4299b73c6e.tar.gz scummvm-rg350-0566bef99131925e5ca5a7d71bfadf4299b73c6e.tar.bz2 scummvm-rg350-0566bef99131925e5ca5a7d71bfadf4299b73c6e.zip | |
Corrected some of the colors in the save/load dialogs in IHNM
svn-id: r28648
Diffstat (limited to 'engines/saga/interface.cpp')
| -rw-r--r-- | engines/saga/interface.cpp | 13 | 
1 files changed, 8 insertions, 5 deletions
| diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index 7189dd8050..8733d35cb1 100644 --- a/engines/saga/interface.cpp +++ b/engines/saga/interface.cpp @@ -960,7 +960,10 @@ void Interface::drawOption() {  	rect2 = rect;  	fontHeight = _vm->_font->getHeight(kKnownFontSmall);  	for (j = 0; j < _vm->getDisplayInfo().optionSaveFileVisible; j++) { -		bgColor = kITEColorDarkGrey0C; +		if (_vm->getGameType() == GType_ITE) +			bgColor = kITEColorDarkGrey0C; +		else +			bgColor = kIHNMColorBlack;  		fgColor = kITEColorBrightWhite;  		idx = j + _optionSaveFileTop; @@ -1233,10 +1236,10 @@ void Interface::drawTextInput(Surface *ds, InterfacePanel *panel, PanelButton *p  	while ((ch[0] = _textInputString[i++]) != 0) {  		rect.setWidth(_vm->_font->getStringWidth(kKnownFontSmall, ch, 0, kFontNormal));  		if ((i == _textInputPos) && _textInput) { -			fgColor = kITEColorBlack; -			ds->fillRect(rect, kITEColorWhite); +			fgColor = _vm->KnownColor2ColorId(kKnownColorBlack); +			ds->fillRect(rect, _vm->KnownColor2ColorId(kKnownColorWhite));  		} else { -			fgColor = kITEColorWhite; +			fgColor = _vm->KnownColor2ColorId(kKnownColorWhite);  		}  		textPoint.x = rect.left;  		textPoint.y = rect.top + 1; @@ -1247,7 +1250,7 @@ void Interface::drawTextInput(Surface *ds, InterfacePanel *panel, PanelButton *p  	if (_textInput && (_textInputPos >= i)) {  		ch[0] = ' ';  		rect.setWidth(_vm->_font->getStringWidth(kKnownFontSmall, ch, 0, kFontNormal)); -		ds->fillRect(rect, kITEColorWhite); +		ds->fillRect(rect, _vm->KnownColor2ColorId(kKnownColorWhite));  	}  } | 
