-
Notifications
You must be signed in to change notification settings - Fork 909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add safe area and document coordinate systems #3890
base: master
Are you sure you want to change the base?
Commits on Sep 10, 2024
-
Add safe area and document coordinate systems
Added `Window::safe_area`, which describes the area of the surface that is unobstructed by notches, bezels etc. The drawing code in the examples have been updated to draw a star inside the safe area, and the plain background outside of it. Also renamed `Window::inner_position` to `Window::surface_position`, and changed it to from screen coordinates to window coordinates, to better align how these coordinate systems work together. Finally, added some SVG images and documentation to describe how all of this works.
Configuration menu - View commit details
-
Copy full SHA for 98a9914 - Browse repository at this point
Copy the full SHA 98a9914View commit details -
Configuration menu - View commit details
-
Copy full SHA for 335a1c6 - Browse repository at this point
Copy the full SHA 335a1c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cd2fa6 - Browse repository at this point
Copy the full SHA 3cd2fa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bcd3ff - Browse repository at this point
Copy the full SHA 9bcd3ffView commit details -
Use possibly negative values for surface position
Dunno, I can imagine that it will happen on some platforms
Configuration menu - View commit details
-
Copy full SHA for bec2ed1 - Browse repository at this point
Copy the full SHA bec2ed1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81c92eb - Browse repository at this point
Copy the full SHA 81c92ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5d8e30 - Browse repository at this point
Copy the full SHA d5d8e30View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1fee88 - Browse repository at this point
Copy the full SHA b1fee88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5df9eb8 - Browse repository at this point
Copy the full SHA 5df9eb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for da7942e - Browse repository at this point
Copy the full SHA da7942eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f080a5 - Browse repository at this point
Copy the full SHA 9f080a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc12e13 - Browse repository at this point
Copy the full SHA bc12e13View commit details -
Add Android, Orbital, Web, Windows, Wayland and X11 implementations
Very bare-bones, probably not correct
Configuration menu - View commit details
-
Copy full SHA for 287fd8d - Browse repository at this point
Copy the full SHA 287fd8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba76cc6 - Browse repository at this point
Copy the full SHA ba76cc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8561d3b - Browse repository at this point
Copy the full SHA 8561d3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for feb686a - Browse repository at this point
Copy the full SHA feb686aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e878c59 - Browse repository at this point
Copy the full SHA e878c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7523d4 - Browse repository at this point
Copy the full SHA c7523d4View commit details
Commits on Sep 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 01552d5 - Browse repository at this point
Copy the full SHA 01552d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45326fb - Browse repository at this point
Copy the full SHA 45326fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c651490 - Browse repository at this point
Copy the full SHA c651490View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1ea82a - Browse repository at this point
Copy the full SHA c1ea82aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39f40c7 - Browse repository at this point
Copy the full SHA 39f40c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 131eaa1 - Browse repository at this point
Copy the full SHA 131eaa1View commit details -
macOS: Guarantee that SurfaceResized is emitted on safe area change
To support on Alacritty
Configuration menu - View commit details
-
Copy full SHA for 62a95a5 - Browse repository at this point
Copy the full SHA 62a95a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b3928e - Browse repository at this point
Copy the full SHA 3b3928eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 992778a - Browse repository at this point
Copy the full SHA 992778aView commit details
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1ffa29b - Browse repository at this point
Copy the full SHA 1ffa29bView commit details
Commits on Nov 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 025bb67 - Browse repository at this point
Copy the full SHA 025bb67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2caf761 - Browse repository at this point
Copy the full SHA 2caf761View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a4c51c - Browse repository at this point
Copy the full SHA 9a4c51cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51269ce - Browse repository at this point
Copy the full SHA 51269ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12f3666 - Browse repository at this point
Copy the full SHA 12f3666View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00fe76e - Browse repository at this point
Copy the full SHA 00fe76eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c288aeb - Browse repository at this point
Copy the full SHA c288aebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 566b790 - Browse repository at this point
Copy the full SHA 566b790View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8143515 - Browse repository at this point
Copy the full SHA 8143515View commit details -
Configuration menu - View commit details
-
Copy full SHA for 773b002 - Browse repository at this point
Copy the full SHA 773b002View commit details