Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmi Shanmugam2016-05-06 05:17:19 -0400
committerLakshmi Shanmugam2016-05-06 05:34:02 -0400
commita51606f2cbb5f4675ec3483a11152734239a8909 (patch)
tree9e29bdd830fdc8f32287b8504c90eab56acb4c17 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa
parentb10a9efedb869c0d0417e593e5f4cbcdc4e1fbed (diff)
downloadeclipse.platform.swt-a51606f2cbb5f4675ec3483a11152734239a8909.tar.gz
eclipse.platform.swt-a51606f2cbb5f4675ec3483a11152734239a8909.tar.xz
eclipse.platform.swt-a51606f2cbb5f4675ec3483a11152734239a8909.zip
Bug 493114 - DPIUtil.DeviceZoom is not set on Mac
Set DPIUtil.deviceZoom. Image.getImageDataAtCurrentZoom() will scale the image data using DPIUtil.autoScaleImageData() if old image constructors are used.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
index 4bda5dc6a9..ff722d7bb2 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
@@ -98,7 +98,8 @@ public class OS extends C {
public static final long /*int*/ sel_callJava = sel_registerName("callJava:index:token:arg:");
public static final long /*int*/ sel_callRunBeforeUnloadConfirmPanelWithMessage = sel_registerName("callRunBeforeUnloadConfirmPanelWithMessage:arg:");
public static final long /*int*/ sel_createPanelDidEnd = sel_registerName("createPanelDidEnd:returnCode:contextInfo:");
- public static final long /*int*/ sel_systemSettingsChanged_ = sel_registerName("systemSettingsChanged:");
+ public static final long /*int*/ sel_systemColorSettingsChanged_ = sel_registerName("systemSettingsChanged:");
+ public static final long /*int*/ sel_screenParametersChanged_ = sel_registerName("screenParametersChanged:");
public static final long /*int*/ sel_panelDidEnd_returnCode_contextInfo_ = sel_registerName("panelDidEnd:returnCode:contextInfo:");
public static final long /*int*/ sel_updateOpenGLContext_ = sel_registerName("updateOpenGLContext:");

Back to the top