Changeset 6441 for code/branches/gamestate/src/libraries
- Timestamp:
- Jan 3, 2010, 3:56:34 PM (15 years ago)
- Location:
- code/branches/gamestate/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestate/src/libraries/core/GUIManager.cc
r6417 r6441 208 208 } 209 209 210 /** Loads a GUI sheet by Lua script 211 @param name 212 The name of the GUI (like the script name, but without the extension) 213 */ 214 void GUIManager::loadGUI(const std::string& name) 215 { 216 this->executeCode("loadGUI(\"" + name + "\")"); 217 } 218 210 219 /** 211 220 @brief -
code/branches/gamestate/src/libraries/core/GUIManager.h
r6417 r6441 69 69 void preUpdate(const Clock& time); 70 70 71 void loadGUI(const std::string& name); 71 72 static void showGUI(const std::string& name, bool hidePrevious=false, bool showCursor=true); 72 73 void showGUIExtra(const std::string& name, const std::string& ptr, bool hidePrevious=false, bool showCursor=true);
Note: See TracChangeset
for help on using the changeset viewer.