Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2017-10-18 10:19:39 +0000
committerSravan Kumar Lakkimsetti2017-10-18 10:19:39 +0000
commit8a0bd0377d6fca6a35b11ddc5a724b5205e269b8 (patch)
tree0193b230aaed22a190741ab6746963668895a283
parent8b050119e0fd197c1b6d000891a9067239fb3981 (diff)
downloadeclipse.platform.swt-8a0bd0377d6fca6a35b11ddc5a724b5205e269b8.tar.gz
eclipse.platform.swt-8a0bd0377d6fca6a35b11ddc5a724b5205e269b8.tar.xz
eclipse.platform.swt-8a0bd0377d6fca6a35b11ddc5a724b5205e269b8.zip
Bug 495203 - [HiDPI][Win32][GTK] Unify behavior of Display#getDPI()
Change-Id: Idc60a2a188e927014e717a1bdbbd2e5fbfa310e8 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java4
3 files changed, 6 insertions, 6 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java
index 31ce0fae4c..5518a229ec 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java
@@ -321,9 +321,9 @@ public int getDepth () {
}
/**
- * Returns a point whose x coordinate is the horizontal
+ * Returns a point whose x coordinate is the logical horizontal
* dots per inch of the display, and whose y coordinate
- * is the vertical dots per inch of the display.
+ * is the logical vertical dots per inch of the display.
*
* @return the horizontal and vertical DPI
*
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java
index 4fcb25df82..3696dfc67e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java
@@ -386,9 +386,9 @@ public int getDepth () {
}
/**
- * Returns a point whose x coordinate is the horizontal
+ * Returns a point whose x coordinate is the logical horizontal
* dots per inch of the display, and whose y coordinate
- * is the vertical dots per inch of the display.
+ * is the logical vertical dots per inch of the display.
*
* @return the horizontal and vertical DPI
*
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java
index b301e337bd..47e2bfccda 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java
@@ -459,9 +459,9 @@ public int getDepth () {
}
/**
- * Returns a point whose x coordinate is the horizontal
+ * Returns a point whose x coordinate is the logical horizontal
* dots per inch of the display, and whose y coordinate
- * is the vertical dots per inch of the display.
+ * is the logical vertical dots per inch of the display.
*
* @return the horizontal and vertical DPI
*

Back to the top