diff options
author | Martin Kiewitz | 2010-01-23 12:01:04 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-23 12:01:04 +0000 |
commit | ed349aba0f4d4098742a0dba8c355cab91a720b2 (patch) | |
tree | a5b17b14db96bc2987067044c34883ebf5a2fea1 | |
parent | e99adedac29f148e392e70ddd5a794caaa10e7f2 (diff) | |
download | scummvm-rg350-ed349aba0f4d4098742a0dba8c355cab91a720b2.tar.gz scummvm-rg350-ed349aba0f4d4098742a0dba8c355cab91a720b2.tar.bz2 scummvm-rg350-ed349aba0f4d4098742a0dba8c355cab91a720b2.zip |
SCI: SCI0 games have a grey titlebar
svn-id: r47463
-rw-r--r-- | engines/sci/graphics/windowmgr.cpp | 5 |
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); |