diff options
author | Neil <nyamatongwe@gmail.com> | 2025-03-20 10:34:10 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2025-03-20 10:34:10 +1100 |
commit | b1823dea90391e67d4a5ee96a4a997230035fe58 (patch) | |
tree | 735de10d8b36dbab95e609833992bdc139107c6c /win32/PlatWin.h | |
parent | 443df5997d71ad8af6b7456eba124e6909118480 (diff) | |
download | scintilla-mirror-b1823dea90391e67d4a5ee96a4a997230035fe58.tar.gz |
Standardize render target initialization.
Use symbolic names for DPI instead of inline value 96.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r-- | win32/PlatWin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h index de99a5fc0..dcda7c944 100644 --- a/win32/PlatWin.h +++ b/win32/PlatWin.h @@ -13,6 +13,7 @@ namespace Scintilla::Internal { #ifndef USER_DEFAULT_SCREEN_DPI #define USER_DEFAULT_SCREEN_DPI 96 #endif +constexpr FLOAT dpiDefault = USER_DEFAULT_SCREEN_DPI; extern void Platform_Initialise(void *hInstance) noexcept; |