Changeset 7338 for code/branches/notifications/src/libraries
- Timestamp:
- Sep 3, 2010, 3:55:32 PM (15 years ago)
- Location:
- code/branches/notifications/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/notifications/src/libraries/core/GUIManager.cc
r7284 r7338 240 240 The function executes the Lua function with the same name in case the GUIManager is ready. 241 241 */ 242 /*static*/ void GUIManager::showGUI(const std::string& name, bool bHidePrevious )243 { 244 GUIManager::getInstance().executeCode("showMenuSheet(\"" + name + "\", " + multi_cast<std::string>(bHidePrevious) + " )");242 /*static*/ void GUIManager::showGUI(const std::string& name, bool bHidePrevious, bool bNoInput) 243 { 244 GUIManager::getInstance().executeCode("showMenuSheet(\"" + name + "\", " + multi_cast<std::string>(bHidePrevious) + ", " + multi_cast<std::string>(bNoInput) + ")"); 245 245 } 246 246 … … 249 249 Hack-ish. Needed for GUIOverlay. 250 250 */ 251 void GUIManager::showGUIExtra(const std::string& name, const std::string& ptr, bool bHidePrevious )252 { 253 this->executeCode("showMenuSheet(\"" + name + "\", " + multi_cast<std::string>(bHidePrevious) + ", " + ptr + ")");251 void GUIManager::showGUIExtra(const std::string& name, const std::string& ptr, bool bHidePrevious, bool bNoInput) 252 { 253 this->executeCode("showMenuSheet(\"" + name + "\", " + multi_cast<std::string>(bHidePrevious) + ", " + multi_cast<std::string>(bNoInput) + ", " + ptr + ")"); 254 254 } 255 255 -
code/branches/notifications/src/libraries/core/GUIManager.h
r7163 r7338 75 75 76 76 void loadGUI(const std::string& name); 77 static void showGUI(const std::string& name, bool bHidePrevious = false );78 void showGUIExtra(const std::string& name, const std::string& ptr, bool bHidePrevious = false );77 static void showGUI(const std::string& name, bool bHidePrevious = false, bool bNoInput = false); 78 void showGUIExtra(const std::string& name, const std::string& ptr, bool bHidePrevious = false, bool bNoInput = false); 79 79 static void hideGUI(const std::string& name); 80 80 void keyESC();
Note: See TracChangeset
for help on using the changeset viewer.