bevy/crates/bevy_window/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
..
cursor.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
event.rs Expose WindowDestroyed events (#9016) 2023-07-04 21:50:53 +00:00
lib.rs Add option to toggle window control buttons (#9083) 2023-07-23 01:02:40 +00:00
raw_handle.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
system.rs Non-breaking change* from UK spellings to US (#8291) 2023-04-08 16:22:46 +00:00
window.rs Add option to toggle window control buttons (#9083) 2023-07-23 01:02:40 +00:00