winit/src/platform_impl
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
..
android Custom cursor improvements (#3292) 2023-12-23 16:12:29 +01:00
ios macOS: Clean up coordinate system calculations (#3302) 2023-12-24 10:12:09 +01:00
linux Custom cursor improvements (#3292) 2023-12-23 16:12:29 +01:00
macos macOS: Clean up coordinate system calculations (#3302) 2023-12-24 10:12:09 +01:00
orbital Custom cursor improvements (#3292) 2023-12-23 16:12:29 +01:00
web Custom cursor improvements (#3292) 2023-12-23 16:12:29 +01:00
windows On Windows, remove internal WindowWrapper (#3294) 2023-12-23 17:06:43 +01:00
mod.rs Redox OS support (#2588) 2023-01-05 06:58:08 -07:00