#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 |
OIS::MouseState::MouseState | ( | ) | [inline] |
bool OIS::MouseState::buttonDown | ( | MouseButtonID | button | ) | const [inline] |
Button down test.
void OIS::MouseState::clear | ( | ) | [inline] |
Clear all the values.
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..
int OIS::MouseState::height [mutable] |
X Axis component.
represents all buttons - bit position indicates button down