aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-12 18:46:42 +0000
committerMartin Kiewitz2010-01-12 18:46:42 +0000
commitc1e4156587675f0412fcabdf93b97c5a113258fc (patch)
treea2b36994ff2a131020084bd3763314e028a5046b
parenta14f044daa9210c55431a9683610064fa3594054 (diff)
downloadscummvm-rg350-c1e4156587675f0412fcabdf93b97c5a113258fc.tar.gz
scummvm-rg350-c1e4156587675f0412fcabdf93b97c5a113258fc.tar.bz2
scummvm-rg350-c1e4156587675f0412fcabdf93b97c5a113258fc.zip
SCI: added comment about "not behaving like sierra here", also added TODO on mouse state change
svn-id: r47270
-rw-r--r--engines/sci/graphics/menu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/graphics/menu.cpp b/engines/sci/graphics/menu.cpp
index 80409c03d5..249b028e12 100644
--- a/engines/sci/graphics/menu.cpp
+++ b/engines/sci/graphics/menu.cpp
@@ -589,6 +589,7 @@ GuiMenuItemEntry *Menu::interactiveWithKeyboard() {
_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 @@ GuiMenuItemEntry *Menu::interactiveWithKeyboard() {
}
}
+// 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();