THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
MessageBox structure containing title, text, window, etc.
Defined in [SDL_messagebox.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_messagebox.h), but apps should _only_ `#include "SDL.h"`!
typedef struct SDL_MessageBoxData
{/**< ::SDL_MessageBoxFlags */
Uint32 flags; /**< Parent window, can be NULL */
SDL_Window *window; const char *title; /**< UTF-8 title */
const char *message; /**< UTF-8 message text */
int numbuttons;
const SDL_MessageBoxButtonData *buttons;
const SDL_MessageBoxColorScheme *colorScheme; /**< ::SDL_MessageBoxColorScheme, can be NULL to use system settings */
} SDL_MessageBoxData;
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 |
CategoryAPI, CategoryAPIStruct, CategoryStruct, CategoryVideo, CategoryDraft