aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r--win32/PlatWin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h
index 5ce12b6c0..f8a7ba98a 100644
--- a/win32/PlatWin.h
+++ b/win32/PlatWin.h
@@ -10,6 +10,10 @@
namespace Scintilla {
+#ifndef USER_DEFAULT_SCREEN_DPI
+#define USER_DEFAULT_SCREEN_DPI 96
+#endif
+
extern void Platform_Initialise(void *hInstance);
extern void Platform_Finalise(bool fromDllMain);
@@ -54,6 +58,8 @@ T DLLFunction(HMODULE hModule, LPCSTR lpProcName) noexcept {
UINT DpiForWindow(WindowID wid) noexcept;
+int SystemMetricsForDpi(int nIndex, UINT dpi) noexcept;
+
#if defined(USE_D2D)
extern bool LoadD2D();
extern ID2D1Factory *pD2DFactory;