GL Studio C++ Runtime API
|
#include <events.h>
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 |
A mouse event
|
inline |
Default Constructor
|
inline |
Copy Constructor
source | The event to copy from. |
|
inline |
Copy Constructor from LocationEvent
source | The event to copy from. |
|
inline |
Assignment operator
source | The event to copy from. |
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