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

Windows DPI awareness #365

Merged
merged 6 commits into from
Feb 1, 2024
Merged

Windows DPI awareness #365

merged 6 commits into from
Feb 1, 2024

Commits on Dec 26, 2023

  1. Handle WM_DPICHANGED

    Spodi committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    272548f View commit details
    Browse the repository at this point in the history
  2. Don't run as DPI-aware process here.

    Use a manifest that declares DPI-awareness for the game instead.
    Spodi committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    f9cf939 View commit details
    Browse the repository at this point in the history
  3. Override SDLs window procedure in Windows

    Something is wrong with SDLs original implementation of  WM_GETDPISCALEDSIZE, so pass it to the default system window procedure.
    
    Should fix window scaling when DPI changes.
    Spodi committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    e419802 View commit details
    Browse the repository at this point in the history
  4. Fix building on non-Windows

    Spodi committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    649a0a4 View commit details
    Browse the repository at this point in the history
  5. Comment some stuff

    Spodi committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    68429b0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    74e2ea2 View commit details
    Browse the repository at this point in the history