- Timestamp:
- Aug 26, 2010, 12:09:12 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/GUIManager.cc
r7204 r7219 71 71 static void key_esc() 72 72 { GUIManager::getInstance().keyESC(); } 73 SetConsoleCommandShortcutExternAlias(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 SetConsoleCommandShortcut(GUIManager, showGUI).accessLevel(AccessLevel::User).defaultValue(1, false).defaultValue(2, true);102 SetConsoleCommandShortcut(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.