[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master cd8433ad 4/8: Enable per-monitor DPI awarenes
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master cd8433ad 4/8: Enable per-monitor DPI awareness for lmi |
Date: |
Thu, 30 Jun 2022 11:14:15 -0400 (EDT) |
branch: master
commit cd8433ad189ac355a8b40431d0bad466d0a2fd8e
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Enable per-monitor DPI awareness for lmi
This is required to opt-out from system scaling, which simply doubles
all pixels drawn by the application on high DPI (i.e. 200% scaling)
monitors, resulting in everything being blurry, including both images
and text.
---
lmi_msw_res.rc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lmi_msw_res.rc b/lmi_msw_res.rc
index 9acb2fcb..ee25fb3d 100644
--- a/lmi_msw_res.rc
+++ b/lmi_msw_res.rc
@@ -29,6 +29,10 @@ AAAAAAAA ICON "lmi.ico"
// binary. Other icons are treated the same way here, not because they
// must be, but simply as a matter of consistency and convenience.
+// Request using the manifest enabling per-monitor DPI awareness in wx.rc, as
+// this application handles DPI scaling correctly.
+#define wxUSE_DPI_AWARE_MANIFEST 2
+
// Get stock cursors etc. Unconventionally, write this #include
// directive at the end of this file, to prevent any ICON statements
// in the included file from preceding the application's icon--which
- [lmi-commits] [lmi] master updated (0cafa323 -> 61ff010d), Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 4099c2f8 2/8: Update wxPdfDoc to the latest version compatible with wx 3.2.0, Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 36b2e546 3/8: Revert "Work around a wxPdfDoc regression", Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master cd8433ad 4/8: Enable per-monitor DPI awareness for lmi,
Greg Chicares <=
- [lmi-commits] [lmi] master d98ebe29 1/8: Update wxWidgets to v3.2.0 pre-release, Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 2892d588 6/8: Add extra accelerators with "+" and "-" keys synonyms, Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 61ff010d 8/8: Update xmlwrapp to the latest pre-0.9.2 version, Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 2fab3ef3 5/8: Remove workaround for WX bug fixed a long time ago, Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 8563dcab 7/8: Change icon_monger to return wxBitmapBundle rather than wxBitmap, Greg Chicares, 2022/06/30