LMMS
Loading...
Searching...
No Matches
PuglTimerEvent Struct Reference

#include <pugl.h>

Public Attributes

PuglEventType type
 PUGL_TIMER
PuglEventFlags flags
 Bitwise OR of PuglEventFlag values.
uintptr_t id
 Timer ID.

Detailed Description

Timer event.

This event is sent at the regular interval specified in the call to puglStartTimer() that activated it.

The id is the application-specific ID given to puglStartTimer() which distinguishes this timer from others. It should always be checked in the event handler, even in applications that register only one timer.

Member Data Documentation

◆ flags

PuglEventFlags PuglTimerEvent::flags

Bitwise OR of PuglEventFlag values.

◆ id

uintptr_t PuglTimerEvent::id

Timer ID.

◆ type

PuglEventType PuglTimerEvent::type

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