sdlGetSystemTheme function
Get the current system theme.
\returns the current system theme, light, dark, or unknown.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC SDL_SystemTheme SDLCALL SDL_GetSystemTheme(void)
Implementation
int sdlGetSystemTheme() {
final sdlGetSystemThemeLookupFunction = libSdl3
.lookupFunction<Int32 Function(), int Function()>('SDL_GetSystemTheme');
return sdlGetSystemThemeLookupFunction();
}