Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Public Attributes | List of all members
OIS::MouseState Class Reference

Represents the state of the mouse All members are valid for both buffered and non buffered mode. More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/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 buttons
 represents all buttons - bit position indicates button down More...
 
int height
 
int width
 Represents the height/width of your display area. More...
 
Axis X
 X Axis component. More...
 
Axis Y
 Y Axis Component. More...
 
Axis Z
 Z Axis Component. More...
 

Detailed Description

Represents the state of the mouse All members are valid for both buffered and non buffered mode.

Constructor & Destructor Documentation

OIS::MouseState::MouseState ( )
inline

Member Function Documentation

bool OIS::MouseState::buttonDown ( MouseButtonID  button) const
inline

Button down test.

void OIS::MouseState::clear ( )
inline

Clear all the values.

Member Data Documentation

int OIS::MouseState::buttons

represents all buttons - bit position indicates button down

int OIS::MouseState::height
mutable
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..

Axis OIS::MouseState::X

X Axis component.

Axis OIS::MouseState::Y
Axis OIS::MouseState::Z

The documentation for this class was generated from the following file: