SDL Wiki

Draft

THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

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

Remarks

See SDL_ShowMessageBox() for a complete code example.

SDL_MessageBoxFlags
SDL_MessageBoxButtonData
SDL_MessageBoxColorScheme
SDL_ShowMessageBox

CategoryStruct, CategoryVideo, CategoryDraft


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.