GL Studio C++ Runtime API
DisplayEvent Class Reference

#include <events.h>

Inheritance diagram for DisplayEvent:
LocationEvent ObjectEvent KeyboardEvent MouseEvent

Public Member Functions

 DisplayEvent ()
 
 DisplayEvent (const DisplayEvent &source)
 
virtual ~DisplayEvent ()
 

Public Attributes

unsigned short eventType
 
unsigned short eventSubtype
 

Detailed Description

The base class for all user defined events. Each new class of event is assigned an event type. Each new event is assigned an event subtype

Constructor & Destructor Documentation

◆ DisplayEvent() [1/2]

DisplayEvent ( )
inline

Default constructor

◆ DisplayEvent() [2/2]

DisplayEvent ( const DisplayEvent source)
inline

Copy constructor

Parameters
sourceThe event to copy from.

◆ ~DisplayEvent()

virtual ~DisplayEvent ( )
inlinevirtual

Virtual deconstructor to enable RTTI

Member Data Documentation

◆ eventSubtype

unsigned short eventSubtype

Minor event code. e.g., MOUSE_DOWN

◆ eventType

unsigned short eventType

Major event code. e.g., EVENT_MOUSE


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