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

Toggle the window's theme in the example #1

Merged
merged 2 commits into from
May 12, 2023
Merged

Toggle the window's theme in the example #1

merged 2 commits into from
May 12, 2023

Conversation

hate
Copy link

@hate hate commented May 11, 2023

Objective

  • Add the ability to toggle the window's theme in the window_settings.rs example

Solution

  • Added window_theme: Option to the window's WindowInternalState
  • Added window_theme(&self) and set_window_theme(&mut self, theme: Option)

Copy link
Owner

@lewiszlw lewiszlw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, thanks.

@lewiszlw lewiszlw merged commit ddefbfa into lewiszlw:window-theme-changed May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants