OIS
1.5
Object-oriented Input System
|
#include <OISMouse.h>
Public Member Functions | |
MouseState () | |
bool | buttonDown (MouseButtonID button) const |
Button down test. More... | |
void | clear () |
Clear all the values. More... | |
Public Attributes | |
int | width |
int | height |
Axis | X |
X Axis component. More... | |
Axis | Y |
Y Axis Component. More... | |
Axis | Z |
Z Axis Component. More... | |
int | buttons |
represents all buttons - bit position indicates button down More... | |
Represents the state of the mouse All members are valid for both buffered and non buffered mode
|
inline |
|
inline |
Button down test.
|
inline |
Clear all the values.
int OIS::MouseState::buttons |
represents all buttons - bit position indicates button down
|
mutable |
|
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..