diff options
author | Silenio Quarti <silenio> | 2008-08-18 15:14:00 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2008-08-18 15:14:00 +0000 |
commit | 114a90e9c5c0a4fae8a6509db4dd3947871a06a6 (patch) | |
tree | 9e22800b8fd3eb5e9d420a613644bfcbab975e8e /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java | |
parent | 047551711731234f55bfa1e053304f3a7d2a17a6 (diff) | |
download | eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.tar.gz eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.tar.xz eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.zip |
64 bit work
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java index 3fe808a4c0..3a1b8394ce 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java @@ -25,57 +25,57 @@ public NSCursor(id id) { } public static NSCursor IBeamCursor() { - int result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_IBeamCursor); + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_IBeamCursor); return result != 0 ? new NSCursor(result) : null; } public static NSCursor arrowCursor() { - int result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_arrowCursor); + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_arrowCursor); return result != 0 ? new NSCursor(result) : null; } public static NSCursor crosshairCursor() { - int result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_crosshairCursor); + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_crosshairCursor); return result != 0 ? new NSCursor(result) : null; } public NSCursor initWithImage(NSImage newImage, NSPoint aPoint) { - int result = OS.objc_msgSend(this.id, OS.sel_initWithImage_hotSpot_, newImage != null ? newImage.id : 0, aPoint); + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithImage_hotSpot_, newImage != null ? newImage.id : 0, aPoint); return result == this.id ? this : (result != 0 ? new NSCursor(result) : null); } public static NSCursor pointingHandCursor() { - int result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_pointingHandCursor); + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_pointingHandCursor); return result != 0 ? new NSCursor(result) : null; } public static NSCursor resizeDownCursor() { - int result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeDownCursor); + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeDownCursor); return result != 0 ? new NSCursor(result) : null; } public static NSCursor resizeLeftCursor() { - int result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeLeftCursor); + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeLeftCursor); return result != 0 ? new NSCursor(result) : null; } public static NSCursor resizeLeftRightCursor() { - int result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeLeftRightCursor); + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeLeftRightCursor); return result != 0 ? new NSCursor(result) : null; } public static NSCursor resizeRightCursor() { - int result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeRightCursor); + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeRightCursor); return result != 0 ? new NSCursor(result) : null; } public static NSCursor resizeUpCursor() { - int result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeUpCursor); + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeUpCursor); return result != 0 ? new NSCursor(result) : null; } public static NSCursor resizeUpDownCursor() { - int result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeUpDownCursor); + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeUpDownCursor); return result != 0 ? new NSCursor(result) : null; } |