aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-05-19 19:52:33 +1000
committerNeil <nyamatongwe@gmail.com>2020-05-19 19:52:33 +1000
commit5ecc20ec39fe01719e35842d0b23c178fda24084 (patch)
tree9e0d81af483dac918d4c0dcc8dd46e7a222206ac /win32/PlatWin.h
parentefaefe9e490c1d3cf5071ab8093abb59526a5002 (diff)
downloadscintilla-mirror-5ecc20ec39fe01719e35842d0b23c178fda24084.tar.gz
Backport: Bug [#2171]. Implement per-monitor DPI Awareness on Windows.
Backport of changeset 8244:134a3860b01e.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r--win32/PlatWin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h
index be99b8e55..440550160 100644
--- a/win32/PlatWin.h
+++ b/win32/PlatWin.h
@@ -48,6 +48,8 @@ T DLLFunction(HMODULE hModule, LPCSTR lpProcName) noexcept {
return fp;
}
+UINT DpiForWindow(WindowID wid) noexcept;
+
#if defined(USE_D2D)
extern bool LoadD2D();
extern ID2D1Factory *pD2DFactory;