Scroll to navigation

SDL_MessageBoxData(3type) SDL3 DATATYPES SDL_MessageBoxData(3type)

NAME

SDL_MessageBoxData - MessageBox structure containing title, text, window, etc.

HEADER FILE

Defined in SDL3/SDL_messagebox.h

SYNOPSIS

#include "SDL3/SDL.h"
typedef struct SDL_MessageBoxData
{
    SDL_MessageBoxFlags flags;
    SDL_Window *window;                 /**< Parent window, can be NULL */
    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;

AVAILABILITY

This struct is available since SDL 3.1.3.

SDL 3.1.6 Simple Directmedia Layer