GL Studio C++ Runtime API
MouseEvent Class Reference

#include <events.h>

Inheritance diagram for MouseEvent:
LocationEvent DisplayEvent

Public Member Functions

 MouseEvent ()
 
 MouseEvent (const MouseEvent &source)
 
 MouseEvent (const LocationEvent &source)
 
MouseEvent operator= (const MouseEvent &source)
 
- Public Member Functions inherited from LocationEvent
 LocationEvent ()
 
 LocationEvent (const LocationEvent &source)
 
LocationEvent operator= (const LocationEvent &source)
 
- Public Member Functions inherited from DisplayEvent
 DisplayEvent ()
 
 DisplayEvent (const DisplayEvent &source)
 
virtual ~DisplayEvent ()
 

Public Attributes

unsigned char buttonMask
 
unsigned char clicks
 
int modifiers
 
unsigned int cursorID
 
- Public Attributes inherited from LocationEvent
Vector winLoc
 
Vector lCoords
 
Vector oCoords
 
float & x
 
float & y
 
float & z
 
float & lx
 
float & ly
 
float & lz
 
float & ox
 
float & oy
 
float & oz
 
- Public Attributes inherited from DisplayEvent
unsigned short eventType
 
unsigned short eventSubtype
 

Detailed Description

A mouse event

Constructor & Destructor Documentation

MouseEvent ( )
inline

Default Constructor

MouseEvent ( const MouseEvent source)
inline

Copy Constructor

MouseEvent ( const LocationEvent source)
inline

Copy Constructor from LocationEvent

Member Function Documentation

MouseEvent operator= ( const MouseEvent source)
inline

Assignment operator

Member Data Documentation

unsigned char buttonMask

bitfield: which button was pressed for this event

unsigned char clicks

Number of times a button was pressed

unsigned int cursorID

cursor id for multi-touch support

int modifiers

bitfield: which buttons or modifiers were depressed before event

See also
SpecialKeyState_e

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