SDL_MessageBoxFlags(3type)
π SDL_MessageBoxFlags π
okay so this little icon comes from the SDL3 DATATYPES manual, and it's literally the blueprint for making your message boxes pop off. no cap. β¨
πΈ NAME πΈ
SDL_MessageBoxFlags β message box flags, periodt. π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_messagebox.h>
typedef Uint32 SDL_MessageBoxFlags;
#define SDL_MESSAGEBOX_ERROR 0x00000010u /**< error dialog */
#define SDL_MESSAGEBOX_WARNING 0x00000020u /**< warning dialog */
#define SDL_MESSAGEBOX_INFORMATION 0x00000040u /**< informational dialog */
#define SDL_MESSAGEBOX_BUTTONS_LEFT_TO_RIGHT 0x00000080u /**< buttons placed left to right */
#define SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT 0x00000100u /**< buttons placed right to left */
the way these flags are set up? iconic. here's the breakdown bestie:
SDL_MESSAGEBOX_ERRORβ0x00000010uβ error dialog energy πSDL_MESSAGEBOX_WARNINGβ0x00000020uβ warning dialog vibes β οΈSDL_MESSAGEBOX_INFORMATIONβ0x00000040uβ informational dialog, iykyk πSDL_MESSAGEBOX_BUTTONS_LEFT_TO_RIGHTβ0x00000080uβ buttons placed left to right ππSDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFTβ0x00000100uβ buttons placed right to left ππ
π« DESCRIPTION π«
if supported will display warning icon, etc. β so basically, when the platform supports it, you get the warning icon and all that cute extra stuff. π that's the whole vibe.
π¦ AVAILABILITY π¦
this datatype has been available since SDL 3.2.0, bestie. it's been here for a minute. π«Ά
and that's the tea! this page is from the Simple Directmedia Layer source, version SDL 3.4.18, and it's the SDL_MessageBoxFlags(3type) manual page. 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