Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_GetSystemTheme - Get the current system theme.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                              SDL_GetSystemTheme(3)

Name

       SDL_GetSystemTheme - Get the current system theme.

Return Value

       Returns the current system theme, light, dark, or unknown.

Synopsis

#include<SDL3/SDL_video.h>SDL_SystemThemeSDL_GetSystemTheme(void);

Thread Safety

       This function should only be called on the main thread.

See Also