[Scummvm-cvs-logs] SF.net SVN: scummvm:[49027] scummvm/trunk/engines/sci/graphics/ports.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Thu May 13 23:29:32 CEST 2010
Revision: 49027
http://scummvm.svn.sourceforge.net/scummvm/?rev=49027&view=rev
Author: m_kiewitz
Date: 2010-05-13 21:29:32 +0000 (Thu, 13 May 2010)
Log Message:
-----------
SCI: fix regression of r49026 - line between titlebar and actual window was overdrawn
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/ports.cpp
Modified: scummvm/trunk/engines/sci/graphics/ports.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/ports.cpp 2010-05-13 21:14:37 UTC (rev 49026)
+++ scummvm/trunk/engines/sci/graphics/ports.cpp 2010-05-13 21:29:32 UTC (rev 49027)
@@ -314,11 +314,10 @@
_paint16->frameRect(r);// draw actual window frame
if (wndStyle & SCI_WINDOWMGR_STYLE_TITLE) {
+ r.bottom = r.top + 10;
if (getSciVersion() <= SCI_VERSION_0_LATE) {
// draw a black line between titlebar and actual window content for SCI0
- r.bottom = r.top + 10;
_paint16->frameRect(r);
- r.bottom = pWnd->dims.bottom - 1;
}
r.grow(-1);
if (getSciVersion() <= SCI_VERSION_0_LATE)
@@ -333,6 +332,7 @@
}
r.grow(+1);
+ r.bottom = pWnd->dims.bottom - 1;
r.top += 9;
}
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