winit-sonoma-fix/examples
Vladimir Bogaevsky 077ee4d851 macOS: Dpi overhaul (#997) (and rebase changes)
* WIP - Make EL2 DPI changes and implement on Windows (#895)

* Modify DPI API publicly and on Windows

* Add generic Position and make dpi creation functions const

* Make examples work

* Fix fullscreen windows not appearing

* Replace Logical coordinates in window events with Physical coordinates

* Update HiDpiFactorChanged

* Document to_static

* fix app_state errors

* fixes hidpi related errors in window_delegate

* fix bad merge

* dpi_factor edits in window_delegate

* fixes type and lifetime errors in window and window_delegate

* applies fmt

* complies with @aleksijuvani requested changes

* modifies Handler lifetimes

* fixes lifetime isues, adds propper handling for HiDpiChanged

* applies fmt

* restore original lifetimes

* solution is somewhere out there

* applies fmt

* pass as references

* resolves issue with HANDLER

* crate visible type error

* fixes visibility issues

* applies fmt

* deals with warnings

* simplifies new_inner_size setting algorthm

* moves proxy instead of referencing it and removes double deref from proxy.ns_window

* makes @Osspial tests (https://github.com/rust-windowing/winit/pull/997\#discussion_r301852354) pass

* complies with @aleksijuvani suggested changes

* makes max window size std::f32::MAX

Changes from rebasing:

* fixes compile errors

* applies fmt

* reimplements HiDpiFactorChanged after #1173 merge

* uses EventWrappers
2020-01-05 14:15:11 -05:00
..
cursor.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00
cursor_grab.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00
custom_events.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00
fullscreen.rs Add exclusive fullscreen mode (#925) 2019-07-29 14:16:14 -04:00
handling_close.rs Re-format on stable rustfmt (#974) 2019-06-24 12:14:55 -04:00
icon.png Window icons (#497) 2018-05-07 17:36:21 -04:00
min_max_size.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00
minimize.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00
monitor_list.rs Use consistent return types for available_monitors() (#1207) 2019-10-05 10:49:24 -04:00
multithreaded.rs macOS: Dpi overhaul (#997) (and rebase changes) 2020-01-05 14:15:11 -05:00
multiwindow.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00
request_redraw.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00
resizable.rs WIP - Make EL2 DPI changes and implement on Windows (#895) 2020-01-05 14:15:11 -05:00
timer.rs X11: Fix window creation hangs when another application is fullscreen (#1248) 2019-11-22 17:11:04 -07:00
transparent.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00
video_modes.rs Add exclusive fullscreen mode (#925) 2019-07-29 14:16:14 -04:00
web.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00
window.rs WIP - Make EL2 DPI changes and implement on Windows (#895) 2020-01-05 14:15:11 -05:00
window_debug.rs X11: Fix window creation hangs when another application is fullscreen (#1248) 2019-11-22 17:11:04 -07:00
window_icon.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00
window_run_return.rs Make examples set control_flow in a more realistic way (#1363) 2020-01-05 02:12:03 -05:00