Changeset 6791 for code/branches/chat/src/orxonox/ChatInputHandler.cc
- Timestamp:
- Apr 26, 2010, 4:35:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/chat/src/orxonox/ChatInputHandler.cc
r6788 r6791 37 37 /* singleton */ 38 38 ManageScopedSingleton( ChatInputHandler, ScopeID::Graphics, false ); 39 SetConsoleCommandAlias( ChatInputHandler, activate_static, "startchat", 40 true ); 39 41 40 42 /* constructor */ … … 50 52 51 53 /* configure the input buffer */ 52 54 configureInputBuffer(); 53 55 54 56 this->inputState = InputManager::getInstance().createInputState( "chatinput", false, false, InputStatePriority::Dynamic ); 55 57 this->inputState->setKeyHandler(this->inpbuf); 56 58 57 / * set console shortcut */58 this->getIdentifier()->addConsoleCommand(createConsoleCommand(createFunctor(59 &ChatInputHandler::activate, this), "startchat"), false);59 //[> set console shortcut <] 60 //this->getIdentifier()->addConsoleCommand(createConsoleCommand(createFunctor( 61 //&ChatInputHandler::activate, this), "startchat"), false); 60 62 } 61 63 … … 88 90 89 91 /* activate, deactivate */ 92 void ChatInputHandler::activate_static() 93 { ChatInputHandler::getInstance().activate(); } 94 90 95 void ChatInputHandler::activate() 91 96 {
Note: See TracChangeset
for help on using the changeset viewer.