sdl.messagebox

SDL MessageBox

Members

Aliases

SDL_MessageBoxButtonFlags
alias SDL_MessageBoxButtonFlags = Uint32

SDL_MessageBoxButtonData flags.

Enums

SDL_MessageBoxColorType
enum SDL_MessageBoxColorType

An enumeration of indices inside the colors array of SDL_MessageBoxColorScheme.

SDL_MessageBoxFlags
enum SDL_MessageBoxFlags

Message box flags.

Functions

SDL_ShowMessageBox
bool SDL_ShowMessageBox(const(SDL_MessageBoxData)* messageboxdata, int* buttonid)

Create a modal message box.

SDL_ShowSimpleMessageBox
bool SDL_ShowSimpleMessageBox(SDL_MessageBoxFlags flags, const(char)* title, const(char)* message, SDL_Window* window)

Display a simple modal message box.

Structs

SDL_MessageBoxButtonData
struct SDL_MessageBoxButtonData

Individual button data.

SDL_MessageBoxColor
struct SDL_MessageBoxColor

RGB value used in a message box color scheme

SDL_MessageBoxColorScheme
struct SDL_MessageBoxColorScheme

A set of colors to use for message box dialogs

SDL_MessageBoxData
struct SDL_MessageBoxData

MessageBox structure containing title, text, window, etc.

Variables

SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT
enum SDL_MessageBoxButtonFlags SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT;

Marks the default button when escape is hit

SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT
enum SDL_MessageBoxButtonFlags SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT;

Marks the default button when return is hit

See Also

Meta

License

Subject to the terms of the Zlib License, as written in the LICENSE file.

Authors

Luna Nielsen