GL Studio C++ Runtime API
KeyboardEvent Class Reference

#include <events.h>

Inheritance diagram for KeyboardEvent:
LocationEvent DisplayEvent

Public Member Functions

 KeyboardEvent ()
 
 KeyboardEvent (const KeyboardEvent &source)
 
 KeyboardEvent (const LocationEvent &source)
 
KeyboardEvent operator= (const KeyboardEvent &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

int keysym
 
int event_text
 
int modifiers
 
- 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 keyboard event

Constructor & Destructor Documentation

KeyboardEvent ( )
inline

Default Constructor

KeyboardEvent ( const KeyboardEvent source)
inline

Copy Constructor

KeyboardEvent ( const LocationEvent source)
inline

Copy Constructor from LocationEvent

Member Function Documentation

KeyboardEvent operator= ( const KeyboardEvent source)
inline

Assignment operator

Member Data Documentation

int event_text

FLTK event text code for key that was pressed

int keysym

FLTK code for key that was pressed

int modifiers

bitfield: which modifiers or buttons were pressed

See also
SpecialKeyState_e

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