Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2015-07-31 19:15:41
Size: 1932
Comment: Added missing ().
Revision 5 as of 2018-03-27 13:41:30
Size: 1934
Editor: DanielG
Comment: buttons has length numbuttons ("size of" sounds like sizeof() which might be confusing)
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
|| const [[SDL_MessageBoxButtonData]]* || '''buttons''' || an array of [[SDL_MessageBoxButtonData]] with size of '''numbuttons''' || || const [[SDL_MessageBoxButtonData]]* || '''buttons''' || an array of [[SDL_MessageBoxButtonData]] with length of '''numbuttons''' ||

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)

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