C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

struct WidgetEventData

Defined in:  C4Widgets.h
The WidgetEventData structure contains information about a widget event.
Definition

struct WidgetEventData

Constructor

WidgetEventData(EventType type, Node *activator = nullptr);

Parameters
type The initial value of the eventType field.
activator The initial value of the activatorNode field.
Data Members
EventType       eventType; The type of the event.
Node            *activatorNode; The node that caused the event to occur (in-game panel effects only).