Changeset 3293 for code/branches/core4/src/core/input/Mouse.cc
- Timestamp:
- Jul 14, 2009, 2:19:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/input/Mouse.cc
r3291 r3293 93 93 94 94 #ifdef ORXONOX_PLATFORM_LINUX 95 void Mouse::grab Mouse()95 void Mouse::grab() 96 96 { 97 OIS::LinuxMouse* linuxMouse = dynamic_cast<OIS::LinuxMouse*>( instancePointer_s->oisDevice_);97 OIS::LinuxMouse* linuxMouse = dynamic_cast<OIS::LinuxMouse*>(oisDevice_); 98 98 assert(linuxMouse); 99 99 linuxMouse->grab(true); 100 100 } 101 101 102 void Mouse::ungrab Mouse()102 void Mouse::ungrab() 103 103 { 104 OIS::LinuxMouse* linuxMouse = dynamic_cast<OIS::LinuxMouse*>( instancePointer_s->oisDevice_);104 OIS::LinuxMouse* linuxMouse = dynamic_cast<OIS::LinuxMouse*>(oisDevice_); 105 105 assert(linuxMouse); 106 106 linuxMouse->grab(false);
Note: See TracChangeset
for help on using the changeset viewer.