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

[Win32] Set DPIAwareness #112

Open
f1nalspace opened this issue May 1, 2021 · 0 comments
Open

[Win32] Set DPIAwareness #112

f1nalspace opened this issue May 1, 2021 · 0 comments
Labels
win32-platform Windows aka win32 platform window-sys Window system (X11, Win32)

Comments

@f1nalspace
Copy link
Owner

f1nalspace commented May 1, 2021

Make this configurable for fplWindowSettings -> isDPIAware.

Set DPIAwareness() in the win32 platform code.
SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE); // "Shcore.dll"

Lookup how to do in X11.

@f1nalspace f1nalspace added win32-platform Windows aka win32 platform window-sys Window system (X11, Win32) labels May 1, 2021
@f1nalspace f1nalspace added this to the libfpl 0.9.7 milestone May 1, 2021
@f1nalspace f1nalspace modified the milestones: libfpl 0.9.7, libfpl 0.9.8 May 21, 2021
@f1nalspace f1nalspace removed this from the libfpl 0.9.8 milestone May 6, 2022
@f1nalspace f1nalspace added this to the libfpl 0.9.8 beta milestone Jan 4, 2023
@f1nalspace f1nalspace self-assigned this Jan 4, 2023
@f1nalspace f1nalspace moved this to Todo in libfpl 0.9.8 beta Jan 4, 2023
@f1nalspace f1nalspace removed this from the libfpl 0.9.8 beta milestone Jan 4, 2023
@f1nalspace f1nalspace removed their assignment Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
win32-platform Windows aka win32 platform window-sys Window system (X11, Win32)
Projects
None yet
Development

No branches or pull requests

1 participant