summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2008-08-14 19:28:37 +0000
committerSilenio Quarti <silenio>2008-08-14 19:28:37 +0000
commit82a169db2ad1731cac41b8c9102e1999ac7a1ef7 (patch)
tree8a2b6c88be7d0408b7405e29cc67a2f5fe42c381 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java
parent00d9a929233cc0e4c7aa22a7ff5b7562dd581371 (diff)
downloadeclipse.platform.swt-82a169db2ad1731cac41b8c9102e1999ac7a1ef7.tar.gz
eclipse.platform.swt-82a169db2ad1731cac41b8c9102e1999ac7a1ef7.tar.xz
eclipse.platform.swt-82a169db2ad1731cac41b8c9102e1999ac7a1ef7.zip
211796 - Regenerate the PI ("Platform Interface") to better match cocoa
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java15
1 files changed, 3 insertions, 12 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java
index 1fcce585df..0aab84a946 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java
@@ -16,13 +16,12 @@ public NSScreen() {
super();
}
-public NSScreen(int id) {
+public NSScreen(int /*long*/ id) {
super(id);
}
-public static NSScreen deepestScreen() {
- int result = OS.objc_msgSend(OS.class_NSScreen, OS.sel_deepestScreen);
- return result != 0 ? new NSScreen(result) : null;
+public NSScreen(id id) {
+ super(id);
}
public int depth() {
@@ -50,14 +49,6 @@ public static NSArray screens() {
return result != 0 ? new NSArray(result) : null;
}
-public int supportedWindowDepths() {
- return OS.objc_msgSend(this.id, OS.sel_supportedWindowDepths);
-}
-
-public float userSpaceScaleFactor() {
- return (float)OS.objc_msgSend_fpret(this.id, OS.sel_userSpaceScaleFactor);
-}
-
public NSRect visibleFrame() {
NSRect result = new NSRect();
OS.objc_msgSend_stret(result, this.id, OS.sel_visibleFrame);