My Project
Loading...
Searching...
No Matches
SDL_UserEvent Struct Reference

A user-defined event type (event.user.*) More...

#include <SDL_events.h>

Data Fields

Uint32 type
 
Uint32 timestamp
 
Uint32 windowID
 
Sint32 code
 
void * data1
 
void * data2
 

Detailed Description

A user-defined event type (event.user.*)

Field Documentation

◆ code

Sint32 code

User defined event code

◆ data1

void* data1

User defined data pointer

◆ data2

void* data2

User defined data pointer

◆ timestamp

Uint32 timestamp

In milliseconds, populated using SDL_GetTicks()

◆ type

Uint32 type

◆ windowID

Uint32 windowID

The associated window if any


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