[Scummvm-cvs-logs] SF.net SVN: scummvm:[47390] scummvm/trunk/engines/sci/graphics/menu.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue Jan 19 20:48:56 CET 2010


Revision: 47390
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47390&view=rev
Author:   m_kiewitz
Date:     2010-01-19 19:48:56 +0000 (Tue, 19 Jan 2010)

Log Message:
-----------
SCI: call showBits() on the line between menubar and the actual menu (because reanimate clips to picPort, so that line wouldnt be shown as restored)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/menu.cpp

Modified: scummvm/trunk/engines/sci/graphics/menu.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/menu.cpp	2010-01-19 19:28:54 UTC (rev 47389)
+++ scummvm/trunk/engines/sci/graphics/menu.cpp	2010-01-19 19:48:56 UTC (rev 47390)
@@ -409,6 +409,10 @@
 
 	if (!_menuSaveHandle.isNull()) {
 		_gfx->BitsRestore(_menuSaveHandle);
+		// Display line inbetween menubar and actual menu
+		Common::Rect menuLine = _menuRect;
+		menuLine.bottom = menuLine.top + 1;
+		_gfx->BitsShow(menuLine);
 		_gui->graphRedrawBox(_menuRect);
 		_menuSaveHandle = NULL_REG;
 	}
@@ -472,6 +476,10 @@
 	// Remove menu, if one is displayed
 	if (!_menuSaveHandle.isNull()) {
 		_gfx->BitsRestore(_menuSaveHandle);
+		// Display line inbetween menubar and actual menu
+		Common::Rect menuLine = _menuRect;
+		menuLine.bottom = menuLine.top + 1;
+		_gfx->BitsShow(menuLine);
 		_gui->graphRedrawBox(_menuRect);
 	}
 


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