Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2015-07-31 00:32:27
Size: 1930
Editor: ChrisBush
Comment: Add reference to SDL_ShowMessageBox for code example
Revision 4 as of 2015-07-31 19:15:41
Size: 1932
Comment: Added missing ().
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:
See [[SDL_ShowMessageBox]] for a complete code example. See [[SDL_ShowMessageBox]]() for a complete code example.

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 size 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)

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