Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add system theme switching support #959

Open
thrust26 opened this issue Mar 9, 2023 · 1 comment
Open

Add system theme switching support #959

thrust26 opened this issue Mar 9, 2023 · 1 comment
Assignees
Milestone

Comments

@thrust26
Copy link
Member

thrust26 commented Mar 9, 2023

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

@thrust26 thrust26 added this to the Prio 2 milestone Mar 9, 2023
@thrust26 thrust26 self-assigned this Mar 9, 2023
@thrust26 thrust26 changed the title Add system themes support Add system theme switching support Mar 9, 2023
@thrust26
Copy link
Member Author

First part implemented with 790bc51

@thrust26 thrust26 added the SDL3 label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant