[Scummvm-cvs-logs] SF.net SVN: scummvm:[38522] scummvm/branches/branch-0-13-0/gui/widget.cpp
tanoku at users.sourceforge.net
tanoku at users.sourceforge.net
Thu Feb 19 01:25:16 CET 2009
Revision: 38522
http://scummvm.svn.sourceforge.net/scummvm/?rev=38522&view=rev
Author: tanoku
Date: 2009-02-19 00:25:16 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Backport (disabled save/load buttons).
Modified Paths:
--------------
scummvm/branches/branch-0-13-0/gui/widget.cpp
Modified: scummvm/branches/branch-0-13-0/gui/widget.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/gui/widget.cpp 2009-02-19 00:18:51 UTC (rev 38521)
+++ scummvm/branches/branch-0-13-0/gui/widget.cpp 2009-02-19 00:25:16 UTC (rev 38522)
@@ -150,6 +150,8 @@
setFlags(WIDGET_ENABLED);
else
clearFlags(WIDGET_ENABLED);
+
+ _boss->draw();
}
bool Widget::isEnabled() const {
@@ -164,6 +166,8 @@
clearFlags(WIDGET_INVISIBLE);
else
setFlags(WIDGET_INVISIBLE);
+
+ _boss->draw();
}
bool Widget::isVisible() const {
@@ -398,7 +402,7 @@
OverlayColor *dst = (OverlayColor*)_gfx.pixels;
Graphics::PixelFormat overlayFormat = g_system->getOverlayFormat();
- OverlayColor fillCol = Graphics::RGBToColor(r, g, b, overlayFormat);
+ OverlayColor fillCol = overlayFormat.RGBToColor(r, g, b);
while (h--) {
for (int i = 0; i < w; ++i) {
*dst++ = fillCol;
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