|
Size: 1932
Comment: Added missing ().
|
← Revision 5 as of 2018-03-27 13:41:30 ⇥
Size: 1934
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.
Contents
Data Fields
Uint32 |
flags |
|
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.
Related Enumerations
Related Structures
