[Scummvm-cvs-logs] SF.net SVN: scummvm:[34816] scummvm/trunk/gui/ThemeEngine.cpp
Tanoku at users.sourceforge.net
Tanoku at users.sourceforge.net
Sat Oct 18 03:44:12 CEST 2008
Revision: 34816
http://scummvm.svn.sourceforge.net/scummvm/?rev=34816&view=rev
Author: Tanoku
Date: 2008-10-18 01:44:12 +0000 (Sat, 18 Oct 2008)
Log Message:
-----------
Fixed: Invisible debugger console text in Classic theme.
Modified Paths:
--------------
scummvm/trunk/gui/ThemeEngine.cpp
Modified: scummvm/trunk/gui/ThemeEngine.cpp
===================================================================
--- scummvm/trunk/gui/ThemeEngine.cpp 2008-10-18 01:27:33 UTC (rev 34815)
+++ scummvm/trunk/gui/ThemeEngine.cpp 2008-10-18 01:44:12 UTC (rev 34816)
@@ -895,9 +895,11 @@
Common::Rect charArea = r;
charArea.clip(_screen->w, _screen->h);
+
+ uint32 color = _system->RGBToColor(_texts[kTextDataDefault]->_color.r, _texts[kTextDataDefault]->_color.g, _texts[kTextDataDefault]->_color.b);
restoreBackground(charArea);
- font->drawChar(_screen, ch, charArea.left, charArea.top, 0);
+ font->drawChar(_screen, ch, charArea.left, charArea.top, color);
addDirtyRect(charArea);
}
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