diff options
author | Nikita Nemkin | 2018-04-25 07:20:15 +0000 |
---|---|---|
committer | Nikita Nemkin | 2018-04-26 11:55:03 +0000 |
commit | cdc67cbff3fb701108f19e6dbec01306872e31dc (patch) | |
tree | 8c182399913e9b521b75276a173b191ee82ba516 /bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c | |
parent | 7283c66382291ec1d3eff3a3d435a713c1dd23e3 (diff) | |
download | eclipse.platform.swt-cdc67cbff3fb701108f19e6dbec01306872e31dc.tar.gz eclipse.platform.swt-cdc67cbff3fb701108f19e6dbec01306872e31dc.tar.xz eclipse.platform.swt-cdc67cbff3fb701108f19e6dbec01306872e31dc.zip |
Bug 480639 - Provide monitor-specific DPI scaling / zoom level
* Use flags=dynamic for GetDpiForMonitor
* Set Monitor.zoom at Monitor creation time.
Change-Id: I2756292bc673aa661b5cb0b97450a7677a730ae4
Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c index 535c93ce32..b462daa83c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c @@ -59,7 +59,6 @@ char * OS_nativeFunctionNames[] = { "CRYPT_1BIT_1BLOB_1sizeof", "CRYPT_1INTEGER_1BLOB_1sizeof", "CRYPT_1OBJID_1BLOB_1sizeof", - "Call", "CallNextHookEx", "CallWindowProcA", "CallWindowProcW", @@ -218,7 +217,6 @@ char * OS_nativeFunctionNames[] = { "FillRect", "FormatMessageA", "FormatMessageW", - "FreeLibrary", "GCP_1RESULTS_1sizeof", "GESTURECONFIG_1sizeof", "GESTUREINFO_1sizeof", @@ -267,6 +265,7 @@ char * OS_nativeFunctionNames[] = { "GetDialogBaseUnits", "GetDlgItem", "GetDoubleClickTime", + "GetDpiForMonitor", "GetFocus", "GetFontLanguageInfo", "GetForegroundWindow", @@ -364,7 +363,6 @@ char * OS_nativeFunctionNames[] = { "GetParent", "GetPixel", "GetPolyFillMode", - "GetProcAddress", "GetProcessHeap", "GetProfileStringA", "GetProfileStringW", @@ -536,8 +534,6 @@ char * OS_nativeFunctionNames[] = { "LoadIconW", "LoadImageA", "LoadImageW", - "LoadLibraryA", - "LoadLibraryW", "LocalFree", "MAKELPARAM", "MAKELRESULT", |