SDL_WINDOWPOS_UNDEFINED_MASK(3)

πŸ’– SDL_WINDOWPOS_UNDEFINED_MASK πŸ’–

okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, page SDL_WINDOWPOS_UNDEFINED_MASK(3). this one's short but it's lowkey a lil magic thing and you're gonna eat it up ✨


🌸 NAME 🌸

SDL_WINDOWPOS_UNDEFINED_MASK β€” it's literally a magic value that gets used with SDL_WINDOWPOS_UNDEFINED. that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

#include <SDL3/SDL_video.h>

#define SDL_WINDOWPOS_UNDEFINED_MASK    0x1FFF0000u

like. there it is. 0x1FFF0000u. iconic number, no notes πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: generally this macro isn't used directly. nope! instead it gets reached through SDL_WINDOWPOS_UNDEFINED or SDL_WINDOWPOS_UNDEFINED_DISPLAY. it's giving backstage pass energy β€” it does the work, the other two get the spotlight 🌈

fr fr, don't go grabbing this one by hand unless you know exactly what you're doing. the other macros are the main characters here πŸ‘‘

πŸ’œ AVAILABILITY πŸ’œ

this macro has been available since SDL 3.2.0. so if you're on something older… babe. it's not there. upgrade era πŸ’«


🫢 SEE ALSO 🫢


and that's the whole page, bestie, you understood it, slay πŸ’–

signing off from the Simple Directmedia Layer crew β€” this is SDL 3.4.18, page SDL_WINDOWPOS_UNDEFINED_MASK(3), and yes the copyright/license vibes belong to them, not me. mwah, go set some window positions πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from