Changeset 3157 for code/branches/pch/src/orxonox/objects/pickup
- Timestamp:
- Jun 13, 2009, 5:03:51 PM (16 years ago)
- Location:
- code/branches/pch/src/orxonox/objects/pickup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/objects/pickup/PickupInventory.cc
r3085 r3157 86 86 { 87 87 if(PickupInventory::getSingleton()->isVisible()) { 88 GUIManager::getInstance Ptr()->executeCode("hideGUI(\"PickupInventory\")");89 GUIManager::getInstance Ptr()->executeCode("hideCursor()");88 GUIManager::getInstance().executeCode("hideGUI(\"PickupInventory\")"); 89 GUIManager::getInstance().executeCode("hideCursor()"); 90 90 InputManager::getInstance().requestLeaveState("guiMouseOnly"); 91 91 } 92 92 else 93 93 { 94 GUIManager::getInstance Ptr()->showGUI("PickupInventory");95 GUIManager::getInstance Ptr()->executeCode("showCursor()");94 GUIManager::getInstance().showGUI("PickupInventory"); 95 GUIManager::getInstance().executeCode("showCursor()"); 96 96 InputManager::getInstance().requestEnterState("guiMouseOnly"); 97 97 } -
code/branches/pch/src/orxonox/objects/pickup/PickupSpawner.cc
r3079 r3157 95 95 // & load the GUI itself too, along with some empty windows 96 96 // = even less delays 97 GUIManager::getInstance Ptr()->showGUI("PickupInventory");98 GUIManager::getInstance Ptr()->executeCode("hideGUI(\"PickupInventory\")");97 GUIManager::getInstance().showGUI("PickupInventory"); 98 GUIManager::getInstance().executeCode("hideGUI(\"PickupInventory\")"); 99 99 PickupInventory::getSingleton(); 100 100 }
Note: See TracChangeset
for help on using the changeset viewer.