aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/windowmgr.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/graphics/windowmgr.cpp b/engines/sci/graphics/windowmgr.cpp
index 706f4ee5a1..08dfdffc39 100644
--- a/engines/sci/graphics/windowmgr.cpp
+++ b/engines/sci/graphics/windowmgr.cpp
@@ -231,7 +231,10 @@ void WindowMgr::DrawWindow(Window *pWnd) {
if (wndStyle & SCI_WINDOWMGR_STYLE_TITLE) {
_gfx->FrameRect(r);
r.grow(-1);
- _gfx->FillRect(r, SCI_SCREEN_MASK_VISUAL, 0);
+ if (getSciVersion() <= SCI_VERSION_0_LATE)
+ _gfx->FillRect(r, SCI_SCREEN_MASK_VISUAL, 8); // grey titlebar for SCI0
+ else
+ _gfx->FillRect(r, SCI_SCREEN_MASK_VISUAL, 0); // black titlebar for SCI01+
if (!pWnd->title.empty()) {
int16 oldcolor = _gfx->GetPort()->penClr;
_gfx->PenColor(255);