Skip to content
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

update Window's width & height methods to return f32 #1033

Merged
merged 4 commits into from
Dec 13, 2020

Commits on Dec 10, 2020

  1. update Window's width & height methods to return f32

    also removes `logical_width` & `logical_height` as they are not longer different
    Nathan Jeffords committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    c35105d View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2020

  1. updates to window size management to improve high DPI support

    * values in the `WindowDescriptor` and the `set_resolution` call are now "requested" sizes
    * once the window is created, the actual width and height are learned along with the scale factor
    * `width` and `height` return the actual size or the requested size if the window has not been created yet
    * add some documentation for the window size APIs
    * update a handfull of examples to change the window size of f32
    Nathan Jeffords authored and blunted2night committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    e242233 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2020

  1. Configuration menu
    Copy the full SHA
    8544a56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e32485 View commit details
    Browse the repository at this point in the history