libGumball 0.0.2
C23-Based, libGimbal-powered UI Library
Loading...
Searching...
No Matches
gumball_event.h File Reference

Go to the source code of this file.

Macros

Type System

Type UUID and Cast Operators

#define GUM_EVENT_TYPE
#define GUM_EVENT(self)
#define GUM_EVENT_CLASS(klass)
#define GUM_EVENT_CLASSOF(self)

Variables

GblEvent uint32_t timestamp

Detailed Description

GUM_Event is the base event type used in libGumball.

Author
2025 Agustín Bellagamba

Macro Definition Documentation

◆ GUM_EVENT_TYPE

#define GUM_EVENT_TYPE

Returns the GUM_Event Type UUID.

◆ GUM_EVENT

#define GUM_EVENT ( self)

Casts an instance of a compatible event to a GUM_Event.

◆ GUM_EVENT_CLASS

#define GUM_EVENT_CLASS ( klass)

Casts a class of a compatible event to a GUM_EventClass.

◆ GUM_EVENT_CLASSOF

#define GUM_EVENT_CLASSOF ( self)

Casts an instance of a compatible event to a GUM_EventClass.

Variable Documentation

◆ timestamp

GblEvent uint32_t timestamp

Timestamp of the event in ms since program start, wraps after ~49 days.