OIS::MouseState Struct Reference

#include <OISMouse.h>

List of all members.

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


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::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]

Axis OIS::MouseState::X

X Axis component.

Axis OIS::MouseState::Y

Y Axis Component.

Axis OIS::MouseState::Z

Z Axis Component.

int OIS::MouseState::buttons

represents all buttons - bit position indicates button down


The documentation for this struct was generated from the following file:
Generated on Fri Jul 13 21:21:06 2007 for OIS by  doxygen 1.5.2