[Scummvm-cvs-logs] SF.net SVN: scummvm:[47270] scummvm/trunk/engines/sci/graphics/menu.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Tue Jan 12 19:46:46 CET 2010
Revision: 47270
http://scummvm.svn.sourceforge.net/scummvm/?rev=47270&view=rev
Author: m_kiewitz
Date: 2010-01-12 18:46:42 +0000 (Tue, 12 Jan 2010)
Log Message:
-----------
SCI: added comment about "not behaving like sierra here", also added TODO on mouse state change
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-12 18:43:10 UTC (rev 47269)
+++ scummvm/trunk/engines/sci/graphics/menu.cpp 2010-01-12 18:46:42 UTC (rev 47270)
@@ -589,6 +589,7 @@
_gfx->BitsShow(_menuRect);
// Show mouse cursor when the menu appears
+ // TODO: We need to save mouse state before changing it and changing it back when menu is done
((SciEngine *)g_engine)->getEngineState()->_gui->showCursor();
while (true) {
@@ -688,6 +689,9 @@
}
}
+// We don't follow sierra here - sierra sci actually does not mix keyboard and mouse interaction
+// If menu is activated by mouse, then its not possible to select via keyboard
+// If menu is activated by keyboard, then its not possible to select via mouse
GuiMenuItemEntry *Menu::interactiveWithMouse() {
calculateTextWidth();
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