Changeset 6150 for code/branches/presentation2/src/modules/overlays
- Timestamp:
- Nov 25, 2009, 4:52:37 PM (15 years ago)
- Location:
- code/branches/presentation2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2
- Property svn:mergeinfo changed
/code/branches/ingamemenu (added) merged: 6003,6018-6020,6022-6023 /code/branches/menu (added) merged: 5941,5944,5952,6024,6032,6036,6047-6049,6051,6145-6146,6148
- Property svn:mergeinfo changed
-
code/branches/presentation2/src/modules/overlays/GUIOverlay.cc
r5980 r6150 73 73 out << reinterpret_cast<long>(this); 74 74 str = out.str(); 75 GUIManager::getInstance().executeCode("showCursor()"); 76 InputManager::getInstance().enterState("guiMouseOnly"); 77 GUIManager::getInstance().executeCode("showGUI(\"" + this->guiName_ + "\", " + str + ")"); 75 COUT(1) << "GUIManager ptr: " << str << std::endl; 76 GUIManager::getInstance().showGUIExtra(this->guiName_, str); 78 77 79 78 COUT(3) << "Showing GUI " << this->guiName_ << std::endl; … … 81 80 else 82 81 { 83 GUIManager::getInstance().executeCode("hideGUI(\"" + this->guiName_ + "\")"); 84 GUIManager::getInstance().executeCode("hideCursor()"); 85 InputManager::getInstance().leaveState("guiMouseOnly"); 82 GUIManager::hideGUI(this->guiName_); 86 83 COUT(3) << "Hiding GUI " << this->guiName_ << std::endl; 87 84 }
Note: See TracChangeset
for help on using the changeset viewer.