22 #ifndef SDL_messagebox_h_ 23 #define SDL_messagebox_h_ 39 SDL_MESSAGEBOX_ERROR = 0x00000010,
40 SDL_MESSAGEBOX_WARNING = 0x00000020,
41 SDL_MESSAGEBOX_INFORMATION = 0x00000040
42 } SDL_MessageBoxFlags;
49 SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 0x00000001,
50 SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 0x00000002
51 } SDL_MessageBoxButtonFlags;
73 SDL_MESSAGEBOX_COLOR_BACKGROUND,
74 SDL_MESSAGEBOX_COLOR_TEXT,
75 SDL_MESSAGEBOX_COLOR_BUTTON_BORDER,
76 SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND,
77 SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED,
78 SDL_MESSAGEBOX_COLOR_MAX
79 } SDL_MessageBoxColorType;
119 extern DECLSPEC
int SDLCALL SDL_ShowMessageBox(
const SDL_MessageBoxData *messageboxdata,
int *buttonid);
133 extern DECLSPEC
int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags,
const char *title,
const char *message,
SDL_Window *window);
struct SDL_Window SDL_Window
The type used to identify a window.
Definition: SDL_video.h:90
const char * message
Definition: SDL_messagebox.h:97
MessageBox structure containing title, text, window, etc.
Definition: SDL_messagebox.h:92
Uint32 flags
Definition: SDL_messagebox.h:94
const SDL_MessageBoxColorScheme * colorScheme
Definition: SDL_messagebox.h:102
A set of colors to use for message box dialogs.
Definition: SDL_messagebox.h:84
SDL_Window * window
Definition: SDL_messagebox.h:95
const char * title
Definition: SDL_messagebox.h:96
RGB value used in a message box color scheme.
Definition: SDL_messagebox.h:66