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

HiDPI Scaling #5

Open
kallisti5 opened this issue Sep 2, 2017 · 1 comment
Open

HiDPI Scaling #5

kallisti5 opened this issue Sep 2, 2017 · 1 comment

Comments

@kallisti5
Copy link
Owner

kallisti5 commented Sep 2, 2017

Guisan really needs to support some kind of pixel-doubling or scaling when run on HiDPI systems.
Deciding when to scale should be automatic, and cross platform (Which might be a bit tricky)

At minimum we need an API call to force these changes manually and let the end developer decide.

@kallisti5
Copy link
Owner Author

kallisti5 commented Oct 24, 2023

Now that I have a 4k monitor, this one is a pretty big need 😆

The standard method is generally doubling the size of elements on 4k. I'm seeing references to SDL_GetDisplayDPI() now existing in SDL 2 which might be useful for this.

https://wiki.libsdl.org/SDL2/SDL_GetDisplayDPI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant