aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-03-20 10:34:10 +1100
committerNeil <nyamatongwe@gmail.com>2025-03-20 10:34:10 +1100
commitb1823dea90391e67d4a5ee96a4a997230035fe58 (patch)
tree735de10d8b36dbab95e609833992bdc139107c6c /win32/PlatWin.h
parent443df5997d71ad8af6b7456eba124e6909118480 (diff)
downloadscintilla-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.h1
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;