Changeset 3279 for code/branches/core4/src/orxonox/overlays
- Timestamp:
- Jul 12, 2009, 11:08:50 PM (15 years ago)
- Location:
- code/branches/core4/src/orxonox/overlays
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/overlays/GUIOverlay.cc
r3196 r3279 70 70 str = out.str(); 71 71 GUIManager::getInstance().executeCode("showCursor()"); 72 InputManager::getInstance(). requestEnterState("guiMouseOnly");72 InputManager::getInstance().enterState("guiMouseOnly"); 73 73 GUIManager::getInstance().executeCode("showGUI(\"" + this->guiName_ + "\", " + str + ")"); 74 74 } … … 77 77 GUIManager::getInstance().executeCode("hideGUI(\"" + this->guiName_ + "\")"); 78 78 GUIManager::getInstance().executeCode("hideCursor()"); 79 InputManager::getInstance(). requestLeaveState("guiMouseOnly");79 InputManager::getInstance().leaveState("guiMouseOnly"); 80 80 } 81 81 } -
code/branches/core4/src/orxonox/overlays/console/InGameConsole.cc
r3274 r3279 98 98 99 99 // destroy the input state previously created (InputBuffer gets destroyed by the Shell) 100 InputManager::getInstance(). requestDestroyState("console");100 InputManager::getInstance().destroyState("console"); 101 101 102 102 Ogre::OverlayManager* ovMan = Ogre::OverlayManager::getSingletonPtr(); … … 507 507 { 508 508 this->bActive_ = true; 509 InputManager::getInstance(). requestEnterState("console");509 InputManager::getInstance().enterState("console"); 510 510 Shell::getInstance().registerListener(this); 511 511 … … 529 529 { 530 530 this->bActive_ = false; 531 InputManager::getInstance(). requestLeaveState("console");531 InputManager::getInstance().leaveState("console"); 532 532 Shell::getInstance().unregisterListener(this); 533 533
Note: See TracChangeset
for help on using the changeset viewer.