Wiki Page Content

DRAFT

SDL_MessageBoxData

A structure that contains title, text, window and other data for a message box.

Data Fields

Uint32

flags

an SDL_MessageBoxFlags

SDL_Window*

window

an parent window, can be NULL

const char*

title

an UTF-8 title

const char*

message

an UTF-8 message text

int

numbuttons

the number of buttons

const SDL_MessageBoxButtonData*

buttons

an array of SDL_MessageBoxButtonData with length of numbuttons

const SDL_MessageBoxColorScheme*

colorScheme

an SDL_MessageBoxColorScheme, can be NULL to use system settings

Code Examples

You can add your code example here

Remarks

See SDL_ShowMessageBox() for a complete code example.


CategoryStruct, CategoryVideo

None: SDL_MessageBoxData (last edited 2018-03-27 13:41:30 by DanielG)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit