#include <OISMouse.h>
Public Member Functions | |
| MouseState () | |
| bool | buttonDown (MouseButtonID button) const |
| Button down test. | |
| void | clear () |
| Clear all the values. | |
Public Attributes | |
| int | width |
| int | height |
| Axis | X |
| X Axis component. | |
| Axis | Y |
| Y Axis Component. | |
| Axis | Z |
| Z Axis Component. | |
| int | buttons |
| represents all buttons - bit position indicates button down | |
Definition at line 41 of file OISMouse.h.
| OIS::MouseState::MouseState | ( | ) | [inline] |
Definition at line 43 of file OISMouse.h.
| bool OIS::MouseState::buttonDown | ( | MouseButtonID | button | ) | const [inline] |
| void OIS::MouseState::clear | ( | ) | [inline] |
Clear all the values.
Definition at line 69 of file OISMouse.h.
Referenced by OIS::Win32Mouse::_initialize(), OIS::SDLMouse::_initialize(), OIS::MacMouse::_initialize(), and OIS::LinuxMouse::_initialize().
int OIS::MouseState::width [mutable] |
Represents the height/width of your display area.. used if mouse clipping or mouse grabbed in case of X11 - defaults to 50.. Make sure to set this and change when your size changes..
Definition at line 43 of file OISMouse.h.
Referenced by OIS::LinuxMouse::_processXEvents(), OIS::Win32Mouse::capture(), and OIS::LinuxMouse::capture().
int OIS::MouseState::height [mutable] |
Definition at line 43 of file OISMouse.h.
Referenced by OIS::LinuxMouse::_processXEvents(), OIS::Win32Mouse::capture(), and OIS::LinuxMouse::capture().
X Axis component.
Definition at line 51 of file OISMouse.h.
Referenced by OIS::Win32Mouse::capture(), OIS::LinuxMouse::capture(), handleNonBufferedMouse(), and EventHandler::mouseMoved().
Definition at line 54 of file OISMouse.h.
Referenced by OIS::Win32Mouse::capture(), OIS::LinuxMouse::capture(), handleNonBufferedMouse(), and EventHandler::mouseMoved().
Definition at line 57 of file OISMouse.h.
Referenced by OIS::LinuxMouse::_processXEvents(), OIS::Win32Mouse::capture(), OIS::LinuxMouse::capture(), handleNonBufferedMouse(), and EventHandler::mouseMoved().
represents all buttons - bit position indicates button down
Definition at line 60 of file OISMouse.h.
Referenced by OIS::Win32Mouse::_doMouseClick(), OIS::LinuxMouse::_processXEvents(), OIS::SDLMouse::capture(), and handleNonBufferedMouse().
1.5.4