hollyhock
Public Member Functions | Public Attributes | List of all members
GUIDialog_OnEvent_Data Struct Reference

Public Member Functions

constexpr uint16_t GetEventID ()
 

Public Attributes

uint16_t type
 
uint16_t data
 Arbitary data. Usage dependent on event and element type.
 
void * element
 The pointer to the internal GUI element class the event refers to.
 

Member Function Documentation

◆ GetEventID()

constexpr uint16_t GUIDialog_OnEvent_Data::GetEventID ( )
inlineconstexpr

Returns the event ID encoded in this event's type. This is the value which would have been passed in to the eventID parameter when the GUI element was created.

Returns
The event ID of the event.

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