Scroll to navigation

SDL_ProgressState(3type) SDL3 DATATYPES SDL_ProgressState(3type)

NAME

SDL_ProgressState - Window progress state

SYNOPSIS

#include <SDL3/SDL_video.h>
typedef enum SDL_ProgressState
{
    SDL_PROGRESS_STATE_INVALID = -1,    /**< An invalid progress state indicating an error; check SDL_GetError() */
    SDL_PROGRESS_STATE_NONE,            /**< No progress bar is shown */
    SDL_PROGRESS_STATE_INDETERMINATE,   /**< The progress bar is shown in a indeterminate state */
    SDL_PROGRESS_STATE_NORMAL,          /**< The progress bar is shown in a normal state */
    SDL_PROGRESS_STATE_PAUSED,          /**< The progress bar is shown in a paused state */
    SDL_PROGRESS_STATE_ERROR            /**< The progress bar is shown in a state indicating the application had an error */
} SDL_ProgressState;

AVAILABILITY

This enum is available since SDL 3.2.8.

SDL 3.3.0 Simple Directmedia Layer