gedi::MouseState Class Reference

#include <Mouse.h>

Inherits gedi::Mouse.

Inheritance diagram for gedi::MouseState:

[legend]
Collaboration diagram for gedi::MouseState:
[legend]
List of all members.

Public Member Functions

 MouseState (void)
gedi::UInt32 GetXAxisState (void)
gedi::UInt32 GetYAxisState (void)
gedi::Bool32 IsButtonDownState (gedi::UInt32 iButton)

Protected Attributes

gedi::Bool32 m_bButtonUpState [MR_MOUSE_DATASIZ]

Detailed Description

Extends Mouse with button and move automata.


Constructor & Destructor Documentation

gedi::MouseState::MouseState ( void   ) 

Constructor.


Member Function Documentation

gedi::UInt32 gedi::MouseState::GetXAxisState ( void   ) 

Returns the X-axis state which is cleared after movement.

Returns:
X coordinate of mouse.

gedi::UInt32 gedi::MouseState::GetYAxisState ( void   ) 

Returns the Y-axis state which is cleared after movement.

Returns:
Y coordinate of mouse.

gedi::Bool32 gedi::MouseState::IsButtonDownState ( gedi::UInt32  iButton  ) 

Returns true if a button has transitioned to down state. (RC)

Parameters:
iButton DirectInput keyboard constant.


Member Data Documentation

gedi::Bool32 gedi::MouseState::m_bButtonUpState[MR_MOUSE_DATASIZ] [protected]

Our key state


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