Changeset 7284 for code/trunk/src/libraries/core/GUIManager.cc
- Timestamp:
- Aug 31, 2010, 3:37:40 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/GUIManager.cc
r7163 r7284 57 57 #include "util/Exception.h" 58 58 #include "util/OrxAssert.h" 59 #include "ConsoleCommand.h"60 59 #include "Core.h" 61 60 #include "GraphicsManager.h" … … 63 62 #include "PathConfig.h" 64 63 #include "Resource.h" 64 #include "command/ConsoleCommand.h" 65 65 #include "input/InputManager.h" 66 66 #include "input/InputState.h" … … 71 71 static void key_esc() 72 72 { GUIManager::getInstance().keyESC(); } 73 SetConsoleCommand ShortcutExternAlias(key_esc, "keyESC");73 SetConsoleCommand("keyESC", &key_esc); 74 74 75 75 class CEGUILogger : public CEGUI::DefaultLogger … … 99 99 GUIManager* GUIManager::singletonPtr_s = 0; 100 100 101 SetConsoleCommand Shortcut(GUIManager, showGUI).accessLevel(AccessLevel::User).defaultValue(1, false).defaultValue(2, true);102 SetConsoleCommand Shortcut(GUIManager, hideGUI).accessLevel(AccessLevel::User);101 SetConsoleCommand("showGUI", &GUIManager::showGUI).defaultValue(1, false).defaultValue(2, true); 102 SetConsoleCommand("hideGUI", &GUIManager::hideGUI); 103 103 104 104 /**
Note: See TracChangeset
for help on using the changeset viewer.