mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
94688a62f0
* 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> |
||
---|---|---|
.. | ||
child_window.rs | ||
control_flow.rs | ||
cursor.rs | ||
cursor_grab.rs | ||
custom_events.rs | ||
drag_window.rs | ||
fullscreen.rs | ||
handling_close.rs | ||
icon.png | ||
ime.rs | ||
monitor_list.rs | ||
mouse_wheel.rs | ||
multithreaded.rs | ||
multiwindow.rs | ||
request_redraw.rs | ||
request_redraw_threaded.rs | ||
resizable.rs | ||
theme.rs | ||
timer.rs | ||
touchpad_gestures.rs | ||
transparent.rs | ||
video_modes.rs | ||
web.rs | ||
web_aspect_ratio.rs | ||
window.rs | ||
window_buttons.rs | ||
window_debug.rs | ||
window_icon.rs | ||
window_resize_increments.rs | ||
window_run_return.rs |