Scroll to navigation

SDL_WINDOWPOS_CENTERED_MASK(3) SDL3 FUNCTIONS SDL_WINDOWPOS_CENTERED_MASK(3)

NAME

SDL_WINDOWPOS_CENTERED_MASK - A magic value used with SDL_WINDOWPOS_CENTERED.

SYNOPSIS

#include <SDL3/SDL_video.h>
#define SDL_WINDOWPOS_CENTERED_MASK    0x2FFF0000u

DESCRIPTION

Generally this macro isn't used directly, but rather through SDL_WINDOWPOS_CENTERED or SDL_WINDOWPOS_CENTERED_DISPLAY.

AVAILABILITY

This macro is available since SDL 3.2.0.

SDL 3.3.0 Simple Directmedia Layer