bevy/crates/bevy_winit/src
Aleksa Pavlović 5e8ee108cb
Add option to toggle window control buttons (#9083)
# Objective

Implements #9082 but with an option to toggle minimize and close buttons
too.

## Solution

- Added an `enabled_buttons` member to the `Window` struct through which
users can enable or disable specific window control buttons.

---

## Changelog

- Added an `enabled_buttons` member to the `Window` struct through which
users can enable or disable specific window control buttons.
- Added a new system to the `window_settings` example which demonstrates
the toggling functionality.

---

## Migration guide

- Added an `enabled_buttons` member to the `Window` struct through which
users can enable or disable specific window control buttons.
2023-07-23 01:02:40 +00:00
..
accessibility.rs Require #[derive(Event)] on all Events (#7086) 2023-06-06 14:44:32 +00:00
converters.rs Add option to toggle window control buttons (#9083) 2023-07-23 01:02:40 +00:00
lib.rs Expose WindowDestroyed events (#9016) 2023-07-04 21:50:53 +00:00
system.rs Add option to toggle window control buttons (#9083) 2023-07-23 01:02:40 +00:00
web_resize.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
winit_config.rs Fixed several missing links in docs. (#8117) 2023-04-23 17:28:36 +00:00
winit_windows.rs Add option to toggle window control buttons (#9083) 2023-07-23 01:02:40 +00:00