Changeset 6303 for code/branches/presentation2
- Timestamp:
- Dec 9, 2009, 8:44:41 PM (15 years ago)
- Location:
- code/branches/presentation2/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/GUIManager.cc
r6214 r6303 241 241 } 242 242 243 void GUIManager::toggleIngameGUI()244 {245 if ( this->bShowIngameGUI_==false )246 {247 GUIManager::showGUI("InGameMenu");248 this->bShowIngameGUI_ = true;249 }250 else251 {252 GUIManager::hideGUI("InGameMenu");253 this->bShowIngameGUI_ = false;254 }255 }256 257 243 void GUIManager::keyESC() 258 244 { -
code/branches/presentation2/src/libraries/core/GUIManager.h
r6183 r6303 71 71 void showGUIExtra(const std::string& name, const std::string& ptr, bool hidePrevious=false, bool showCursor=true); 72 72 static void hideGUI(const std::string& name); 73 void toggleIngameGUI();74 73 void keyESC(); 75 74 void setBackground(const std::string& name);
Note: See TracChangeset
for help on using the changeset viewer.