(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_WINDOWPOS_CENTERED_MASK

Used to indicate that the window position should be centered.

Header File

Defined in <SDL3/SDL_video.h>

Syntax

#define SDL_WINDOWPOS_CENTERED_MASK    0x2FFF0000u

Version

This macro is available since SDL 3.0.0.


CategoryAPI, CategoryAPIMacro, CategoryVideo