SDL_SystemTheme(3type)
π SDL_SystemTheme β the system theme type π
okay bestie so this is the manual for SDL_SystemTheme, part of the SDL3 datatypes era, and it's literally just about knowing whether your user's system is giving light mode, dark mode, or mystery mode π¦
β¨ NAME β¨
SDL_SystemTheme β System theme.
β¨ SYNOPSIS β¨
#include <SDL3/SDL_video.h>
typedef enum SDL_SystemTheme
{
SDL_SYSTEM_THEME_UNKNOWN, /**< Unknown system theme */
SDL_SYSTEM_THEME_LIGHT, /**< Light colored system theme */
SDL_SYSTEM_THEME_DARK /**< Dark colored system theme */
} SDL_SystemTheme;
so yeah, it's an enum, it lives in <SDL3/SDL_video.h>, and it has exactly three moods π
SDL_SYSTEM_THEME_UNKNOWNβ the system theme is unknown, it's giving mystery, no vibe check possible πSDL_SYSTEM_THEME_LIGHTβ light colored system theme, bright and airy, main character daylight energy βοΈβ¨SDL_SYSTEM_THEME_DARKβ dark colored system theme, the iconic nighttime aesthetic, obsessed π€π₯
β¨ AVAILABILITY β¨
This enum is available since SDL 3.2.0. so if you're on anything older, bestie, it's not there, periodt π
no cap, keep those enum values exactly as they are βSDL_SYSTEM_THEME_UNKNOWN,SDL_SYSTEM_THEME_LIGHT,SDL_SYSTEM_THEME_DARKβ don't be renaming them, iykyk π
and that's the whole page, fr fr πΈ this came to you from Simple Directmedia Layer, version SDL 3.4.18, and this lil datatype page is literally called SDL_SystemTheme(3type) β slay, drink water, go check your system theme bestie π
π«Άπ
π¦ 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