winit/src/platform_impl/macos
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
..
util macOS: Dpi overhaul (#997) (and rebase changes) 2020-01-05 14:15:11 -05:00
app.rs macOS: Dpi overhaul (#997) (and rebase changes) 2020-01-05 14:15:11 -05:00
app_delegate.rs Change Suspended(true/false) => Suspended/Resumed (#959) 2019-06-21 20:59:31 -06:00
app_state.rs macOS: Dpi overhaul (#997) (and rebase changes) 2020-01-05 14:15:11 -05:00
event.rs macOS: Dpi overhaul (#997) (and rebase changes) 2020-01-05 14:15:11 -05:00
event_loop.rs macOS: Dpi overhaul (#997) (and rebase changes) 2020-01-05 14:15:11 -05:00
ffi.rs Add exclusive fullscreen mode (#925) 2019-07-29 14:16:14 -04:00
mod.rs Add exclusive fullscreen mode (#925) 2019-07-29 14:16:14 -04:00
monitor.rs Miscellaneous small changes (#1238) 2019-10-23 19:45:25 -04:00
observer.rs Fix invalid_value lint triggering on mem::zeroed of CFRunLoopSourceContext (#1271) 2019-11-11 15:50:31 -07:00
view.rs macOS: Dpi overhaul (#997) (and rebase changes) 2020-01-05 14:15:11 -05:00
window.rs macOS: Dpi overhaul (#997) (and rebase changes) 2020-01-05 14:15:11 -05:00
window_delegate.rs macOS: Dpi overhaul (#997) (and rebase changes) 2020-01-05 14:15:11 -05:00