Changeset 3275 for code/branches/core4
- Timestamp:
- Jul 12, 2009, 4:44:27 PM (15 years ago)
- Location:
- code/branches/core4/src/core/input
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/input/Keyboard.cc
r3274 r3275 43 43 modifiers_ |= KeyboardModifier::Shift; // shift key 44 44 45 super::buttonPressed(KeyEvent(arg)); 45 KeyEvent evt(arg); 46 super::buttonPressed(evt); 46 47 return true; 47 48 } … … 58 59 modifiers_ &= ~KeyboardModifier::Shift; // shift key 59 60 60 super::buttonReleased(KeyEvent(arg)); 61 KeyEvent evt(arg); 62 super::buttonReleased(evt); 61 63 return true; 62 64 } -
code/branches/core4/src/core/input/Keyboard.h
r3274 r3275 46 46 , public OIS::KeyListener 47 47 { 48 friend InputDeviceTemplated<KeyboardTraits>;48 friend class InputDeviceTemplated<KeyboardTraits>; 49 49 //! Super class alias 50 50 typedef InputDeviceTemplated<KeyboardTraits> super; -
code/branches/core4/src/core/input/Mouse.h
r3274 r3275 44 44 , public OIS::MouseListener 45 45 { 46 friend InputDeviceTemplated<MouseTraits>;46 friend class InputDeviceTemplated<MouseTraits>; 47 47 //! Super class alias 48 48 typedef InputDeviceTemplated<MouseTraits> super;
Note: See TracChangeset
for help on using the changeset viewer.