stella
stella copied to clipboard
Add system theme switching support
Today's OS allow automatic switching themes depending e.g. on the daylight.
Future SDL Versions will support querying the API, using SDL_GetSystemTheme()
. If this is supported, Stella should support switching themes automatically. The user should be allowed to select different themes for day (default light
) and night (default dark
) time.
A SDL_EVENT_SYSTEM_THEME_CHANGED
is sent when the system theme changes
First part implemented with 790bc51c83