Changeset 3274 for code/branches/core4/src/orxonox/gui/GUIManager.cc
- Timestamp:
- Jul 12, 2009, 4:12:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/gui/GUIManager.cc
r3261 r3274 366 366 void GUIManager::keyPressed(const KeyEvent& evt) 367 367 { 368 guiSystem_->injectKeyDown(evt.key); guiSystem_->injectChar(evt.text); 368 guiSystem_->injectKeyDown(evt.getKeyCode()); 369 guiSystem_->injectChar(evt.getText()); 369 370 } 370 371 void GUIManager::keyReleased(const KeyEvent& evt) 371 372 { 372 guiSystem_->injectKeyUp(evt. key);373 guiSystem_->injectKeyUp(evt.getKeyCode()); 373 374 } 374 375 … … 382 383 It is for CEGUI to process the event. 383 384 */ 384 void GUIManager:: mouseButtonPressed(MouseButtonCode::ByEnum id)385 void GUIManager::buttonPressed(MouseButtonCode::ByEnum id) 385 386 { 386 387 try … … 404 405 It is for CEGUI to process the event. 405 406 */ 406 void GUIManager:: mouseButtonReleased(MouseButtonCode::ByEnum id)407 void GUIManager::buttonReleased(MouseButtonCode::ByEnum id) 407 408 { 408 409 try
Note: See TracChangeset
for help on using the changeset viewer.