SDL_WINDOWPOS_ISUNDEFINED(3)
β¨ NAME β¨
SDL_WINDOWPOS_ISUNDEFINED β bestie, this is a macro and its whole job is checking whether a window position is marked as "undefined." That's it. That's the gig. π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_video.h>
#define SDL_WINDOWPOS_ISUNDEFINED(X) (((X)&0xFFFF0000) == SDL_WINDOWPOS_UNDEFINED_MASK)
okay so literally just pull in the header and the macro is right there waiting for you, no cap π«Ά
π MACRO PARAMETERS π
Xβ the window position value. the thing you're vibe-checking. that's the whole parameter, she's lowkey simple π
π AVAILABILITY π
this macro is available since SDL 3.2.0 β¨ so if you're on anything older, sorry babe, no macro for you π
π¦ SEE ALSO π¦
SDL_SetWindowPosition(3)β go set that position, main character energy π
and that's the whole page, fr fr β go forth and check those positions π
this has been your girl from Simple Directmedia Layer, bringing you SDL 3.4.18 realness, mwah ππ
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms