SDL  2.0
SDL_MessageBoxData Struct Reference

MessageBox structure containing title, text, window, etc. More...

#include <SDL_messagebox.h>

+ Collaboration diagram for SDL_MessageBoxData:

Data Fields

Uint32 flags
 
SDL_Windowwindow
 
const char * title
 
const char * message
 
int numbuttons
 
const SDL_MessageBoxButtonDatabuttons
 
const SDL_MessageBoxColorSchemecolorScheme
 

Detailed Description

MessageBox structure containing title, text, window, etc.

Definition at line 92 of file SDL_messagebox.h.

Field Documentation

◆ buttons

const SDL_MessageBoxButtonData* SDL_MessageBoxData::buttons

◆ colorScheme

const SDL_MessageBoxColorScheme* SDL_MessageBoxData::colorScheme

SDL_MessageBoxColorScheme, can be NULL to use system settings

Definition at line 102 of file SDL_messagebox.h.

◆ flags

Uint32 SDL_MessageBoxData::flags

◆ message

const char* SDL_MessageBoxData::message

UTF-8 message text

Definition at line 97 of file SDL_messagebox.h.

Referenced by button_messagebox(), SDL_PromptAssertion(), and SDL_ShowSimpleMessageBox().

◆ numbuttons

int SDL_MessageBoxData::numbuttons

Definition at line 99 of file SDL_messagebox.h.

Referenced by SDL_PromptAssertion(), and SDL_ShowSimpleMessageBox().

◆ title

const char* SDL_MessageBoxData::title

UTF-8 title

Definition at line 96 of file SDL_messagebox.h.

Referenced by SDL_PromptAssertion(), and SDL_ShowSimpleMessageBox().

◆ window

SDL_Window* SDL_MessageBoxData::window

Parent window, can be NULL

Definition at line 95 of file SDL_messagebox.h.

Referenced by SDL_MessageboxValidForDriver(), SDL_PromptAssertion(), and SDL_ShowSimpleMessageBox().


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