1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 21:40:25 +00:00
QB64-PE/internal/c
Matthew Kilgore f03b55808b Remove DPI Awareness on Windows
DPI Awareness allows a program to tell Windows that it will handle
properly scaling itself for the screen's DPI. Thus when a program is DPI
Aware, it will always see the actual screen size. When a program is not
DPI Aware, then Windows will scale the program according to the
selection by the user, and the reported screen size will match the
scaled size rather than the actual screen size.

Commit 189cdb8e added logic to enable DPI Awareness on Windows, but it
was hidden behind a `WINVER` check. This meant it was not actually in
use because at the time QB64 did not set a `WINVER` high enough to
actually enable that code. As such all Windows versions of QB64
including v2.0.2 were not DPI Aware.

Much later-on, Commit 869e361e declared a `_WIN32_WINNT` of `0x0600`,
which seems to have also declared `WINVER` as the same and thus enabled
the DPI Awareness logic. As a consequence, QB64-PE programs no longer
get scaled even though they don't have a way to acquire the current DPI
to do proper scaling themselves.

Since the behavior change was unintentional and proper language support
is not there, we're considering the addition of DPI Awareness a bug. It
will be added back some time later with more language support to allow
it to be properly used.
2022-09-02 23:50:23 -04:00
..
libqb Fix High-DPI awareness on Windows 2022-08-28 21:44:07 -04:00
parts Updated comments 2022-08-28 02:16:56 -04:00
.gitignore setup_win.bat: create internal/c/c_compiler 2022-04-28 17:15:35 -04:00
common.h Remove all _SHR & _SHL changes 2022-09-01 16:15:42 +05:30
libqb.cpp Remove DPI Awareness on Windows 2022-09-02 23:50:23 -04:00
libqb.h Format other various source files 2022-05-06 13:20:30 -04:00
libqb.mm (Automated push) Update internal/source/* from qb64.bas 2015-08-02 05:12:44 -07:00
msbin.c Format other various source files 2022-05-06 13:20:30 -04:00
mtri1.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri1s.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri1t.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri1ts.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri2.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri2s.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri2t.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri2ts.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri3.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri3s.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri3t.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri3ts.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri4.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri4s.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri4t.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
mtri4ts.cpp Run clang-format on ./internal/c/*cpp files 2022-05-06 13:20:30 -04:00
myip.cpp Step 10: Update remaining stuff 2022-08-12 02:54:12 +02:00
os.h Move QB64 compiler settings to libqb-common.h 2022-06-12 00:28:16 -04:00
purge_all_precompiled_content.bat Change purge scripts to use make clean 2022-05-19 09:17:13 -04:00
purge_all_precompiled_content.command Change purge scripts to use make clean 2022-05-19 09:17:13 -04:00
purge_all_precompiled_content.sh Change purge scripts to use make clean 2022-05-19 09:17:13 -04:00
qbx.cpp Remove all _SHR & _SHL changes 2022-09-01 16:15:42 +05:30
time64.c Format other various source files 2022-05-06 13:20:30 -04:00
time64.h Format other various source files 2022-05-06 13:20:30 -04:00