SDL 3.0
SDL_MessageBoxButtonData Struct Reference

#include <SDL_messagebox.h>

Data Fields

SDL_MessageBoxButtonFlags flags
 
int buttonID
 
const char * text
 

Detailed Description

Individual button data.

Since
This struct is available since SDL 3.0.0.

Definition at line 71 of file SDL_messagebox.h.

Field Documentation

◆ buttonID

int SDL_MessageBoxButtonData::buttonID

User defined button id (value returned via SDL_ShowMessageBox)

Definition at line 74 of file SDL_messagebox.h.

◆ flags

SDL_MessageBoxButtonFlags SDL_MessageBoxButtonData::flags

Definition at line 73 of file SDL_messagebox.h.

◆ text

const char* SDL_MessageBoxButtonData::text

The UTF-8 button text

Definition at line 75 of file SDL_messagebox.h.


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