[Scummvm-cvs-logs] SF.net SVN: scummvm: [26486] scummvm/trunk/engines/lure/menu.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sun Apr 15 12:44:38 CEST 2007
Revision: 26486
http://scummvm.svn.sourceforge.net/scummvm/?rev=26486&view=rev
Author: dreammaster
Date: 2007-04-15 03:44:37 -0700 (Sun, 15 Apr 2007)
Log Message:
-----------
Bugfix to restore the correct part of the screen when the menu changes
Modified Paths:
--------------
scummvm/trunk/engines/lure/menu.cpp
Modified: scummvm/trunk/engines/lure/menu.cpp
===================================================================
--- scummvm/trunk/engines/lure/menu.cpp 2007-04-15 10:43:31 UTC (rev 26485)
+++ scummvm/trunk/engines/lure/menu.cpp 2007-04-15 10:44:37 UTC (rev 26486)
@@ -111,10 +111,7 @@
// If necessary, remove prior menu
if (_selectedMenu) {
toggleHighlight(_selectedMenu);
-// screen.updateArea(_selectedMenu->xstart(), MENUBAR_Y_SIZE,
-// _surfaceMenu->width(), _surfaceMenu->height());
- screen.updateArea(0, MENUBAR_Y_SIZE, FULL_SCREEN_WIDTH,
- _surfaceMenu->height());
+ screen.updateArea(0, 0, FULL_SCREEN_WIDTH, _surfaceMenu->height() + 8);
delete _surfaceMenu;
_surfaceMenu = NULL;
_selectedIndex = 0;
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