winit/src/platform_impl/macos
Mads Marquart 4f6fd44c6c
macOS: Clean up coordinate system calculations (#3302)
* Clean up macOS and iOS monitor code a bit

* Clean up window size methods

Use `setContentSize`, `setContentMinSize`, `setContentMaxSize` and `contentRectForFrameRect` to let the windowing system figure out the required scaling, instead of us doing it manually.

* Use a flipped NSView coordinate system

* Clean up window position methods
2023-12-24 10:12:09 +01:00
..
app.rs Replace remaining AppKit bindings with icrate's (#3296) 2023-12-23 23:07:55 +01:00
app_delegate.rs Replace remaining AppKit bindings with icrate's (#3296) 2023-12-23 23:07:55 +01:00
app_state.rs Replace remaining AppKit bindings with icrate's (#3296) 2023-12-23 23:07:55 +01:00
cursor.rs Partially replace custom AppKit bindings with icrate's autogenerated bindings (#2982) 2023-12-23 20:58:38 +01:00
event.rs Partially replace custom AppKit bindings with icrate's autogenerated bindings (#2982) 2023-12-23 20:58:38 +01:00
event_loop.rs Replace remaining AppKit bindings with icrate's (#3296) 2023-12-23 23:07:55 +01:00
ffi.rs Replace remaining AppKit bindings with icrate's (#3296) 2023-12-23 23:07:55 +01:00
menu.rs Replace remaining AppKit bindings with icrate's (#3296) 2023-12-23 23:07:55 +01:00
mod.rs Replace remaining AppKit bindings with icrate's (#3296) 2023-12-23 23:07:55 +01:00
monitor.rs macOS: Clean up coordinate system calculations (#3302) 2023-12-24 10:12:09 +01:00
observer.rs Replace remaining AppKit bindings with icrate's (#3296) 2023-12-23 23:07:55 +01:00
util.rs macOS: Clean up coordinate system calculations (#3302) 2023-12-24 10:12:09 +01:00
view.rs macOS: Clean up coordinate system calculations (#3302) 2023-12-24 10:12:09 +01:00
window.rs macOS: Clean up coordinate system calculations (#3302) 2023-12-24 10:12:09 +01:00
window_delegate.rs macOS: Clean up coordinate system calculations (#3302) 2023-12-24 10:12:09 +01:00