Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiraj Modi2018-08-14 05:30:27 +0000
committerNiraj Modi2018-08-14 11:20:07 +0000
commit504c1f01f5fd7ad629d4d8642615b94b82d09857 (patch)
treeb559e30ce374a902de11b359da5649c9a2ec7c03 /bundles/org.eclipse.swt/Eclipse SWT PI/win32
parentb2cc595001b5dd056392e50a7db32df73516d8e4 (diff)
downloadeclipse.platform.swt-504c1f01f5fd7ad629d4d8642615b94b82d09857.tar.gz
eclipse.platform.swt-504c1f01f5fd7ad629d4d8642615b94b82d09857.tar.xz
eclipse.platform.swt-504c1f01f5fd7ad629d4d8642615b94b82d09857.zip
Bug 515502 - [HiDPI][Win10] SWT to receive/handle DPI changeI20180814-0900
notification from OS Change-Id: Ic0b851b76cbd5b270f4d4337de6ac6f2fb81812c Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
index a7c4c48119..a9de9f7239 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2017 IBM Corporation and others.
+ * Copyright (c) 2000, 2018 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -1885,6 +1885,7 @@ public class OS extends C {
public static final int WM_CUT = 0x300;
public static final int WM_DEADCHAR = 0x103;
public static final int WM_DESTROY = 0x2;
+ public static final int WM_DPICHANGED = 0x02E0;
public static final int WM_DRAWITEM = 0x2b;
public static final int WM_ENDSESSION = 0x16;
public static final int WM_ENTERIDLE = 0x121;

Back to the top