* On Windows and macOS, add API to enable/disable window controls * fix build * missing import * use `WindowButtons` flags * rename to `[set_]enabled_buttons` * add example, fix windows impl for minimize * macOS: Fix button enabling close/minimize while disabling maximized * Update src/platform_impl/windows/window.rs Co-authored-by: Kirill Chibisov <contact@kchibisov.com> * compose the flags on a sep line, use `bool::then` Co-authored-by: Mads Marquart <mads@marquart.dk> Co-authored-by: Kirill Chibisov <contact@kchibisov.com> |
||
|---|---|---|
| .. | ||
| platform | ||
| platform_impl | ||
| dpi.rs | ||
| error.rs | ||
| event.rs | ||
| event_loop.rs | ||
| icon.rs | ||
| lib.rs | ||
| monitor.rs | ||
| window.rs | ||