|
arsa
2.7
|
Go to the source code of this file.
Classes | |
| struct | SDL_MessageBoxButtonData |
| Individual button data. More... | |
| struct | SDL_MessageBoxColor |
| RGB value used in a message box color scheme. More... | |
| struct | SDL_MessageBoxColorScheme |
| A set of colors to use for message box dialogs. More... | |
| struct | SDL_MessageBoxData |
| MessageBox structure containing title, text, window, etc. More... | |
Enumerations | |
| enum | SDL_MessageBoxFlags { SDL_MESSAGEBOX_ERROR = 0x00000010, SDL_MESSAGEBOX_WARNING = 0x00000020, SDL_MESSAGEBOX_INFORMATION = 0x00000040, SDL_MESSAGEBOX_BUTTONS_LEFT_TO_RIGHT = 0x00000080, SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT = 0x00000100 } |
| SDL_MessageBox flags. If supported will display warning icon, etc. More... | |
| enum | SDL_MessageBoxButtonFlags { SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 0x00000001, SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 0x00000002 } |
| Flags for SDL_MessageBoxButtonData. More... | |
| enum | SDL_MessageBoxColorType { SDL_MESSAGEBOX_COLOR_BACKGROUND, SDL_MESSAGEBOX_COLOR_TEXT, SDL_MESSAGEBOX_COLOR_BUTTON_BORDER, SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND, SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED, SDL_MESSAGEBOX_COLOR_MAX } |
Functions | |
| DECLSPEC int SDLCALL | SDL_ShowMessageBox (const SDL_MessageBoxData *messageboxdata, int *buttonid) |
| Create a modal message box. More... | |
| DECLSPEC int SDLCALL | SDL_ShowSimpleMessageBox (Uint32 flags, const char *title, const char *message, SDL_Window *window) |
| Create a simple modal message box. More... | |
Flags for SDL_MessageBoxButtonData.
| Enumerator | |
|---|---|
| SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT | Marks the default button when return is hit |
| SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT | Marks the default button when escape is hit |
Definition at line 49 of file SDL_messagebox.h.
Definition at line 73 of file SDL_messagebox.h.
| enum SDL_MessageBoxFlags |
SDL_MessageBox flags. If supported will display warning icon, etc.
Definition at line 37 of file SDL_messagebox.h.
| DECLSPEC int SDLCALL SDL_ShowMessageBox | ( | const SDL_MessageBoxData * | messageboxdata, |
| int * | buttonid | ||
| ) |
Create a modal message box.
| messageboxdata | The SDL_MessageBoxData structure with title, text, etc. |
| buttonid | The pointer to which user id of hit button should be copied. |
| DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox | ( | Uint32 | flags, |
| const char * | title, | ||
| const char * | message, | ||
| SDL_Window * | window | ||
| ) |
Create a simple modal message box.
| flags | SDL_MessageBoxFlags |
| title | UTF-8 title text |
| message | UTF-8 message text |
| window | The parent window, or NULL for no parent |
1.8.15