Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarolyn MacLeod2010-12-07 15:13:26 +0000
committerCarolyn MacLeod2010-12-07 15:13:26 +0000
commit3821275f15c3c5e3d4078bbcb7bb225eb1f1507d (patch)
tree75a54fa85727307082915619be34e987b62d7b02 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt
parentd3b8e9e2ee55a11654f075aac1063696ec98ed64 (diff)
downloadeclipse.platform.swt-3821275f15c3c5e3d4078bbcb7bb225eb1f1507d.tar.gz
eclipse.platform.swt-3821275f15c3c5e3d4078bbcb7bb225eb1f1507d.tar.xz
eclipse.platform.swt-3821275f15c3c5e3d4078bbcb7bb225eb1f1507d.zip
differences XML bridgesupport between 10.5 and 10.6
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java6
2 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras
index fe64997263..2f52549a75 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras
@@ -223,7 +223,7 @@
<function name="CGEventCreateScrollWheelEvent" swt_gen="true">
<arg swt_gen="true"></arg>
<arg swt_gen="true"></arg>
- <arg swt_gen="true"></arg>
+ <arg swt_gen="true" swt_param_cast="CGWheelCount"></arg>
<arg swt_gen="true"></arg>
<retval swt_gen="true"></retval>
</function>
@@ -237,7 +237,7 @@
<arg swt_gen="true"></arg>
</function>
<function name="CGEventSourceCreate" swt_gen="true">
- <arg swt_gen="true"></arg>
+ <arg swt_gen="true" swt_param_name="sourceState"></arg>
<retval swt_gen="true"></retval>
</function>
<function name="CGGetDisplaysWithRect" swt_gen="true">
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 cbfefb307e..a3592a3d8d 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
@@ -3338,7 +3338,7 @@ public static final native int /*long*/ CGEventCreateMouseEvent(int /*long*/ sou
/**
* @param source cast=(CGEventSourceRef)
* @param units cast=(CGScrollEventUnit)
- * @param wheelCount cast=(uint32_t)
+ * @param wheelCount cast=(CGWheelCount)
* @param wheel1 cast=(int32_t)
*/
public static final native int /*long*/ CGEventCreateScrollWheelEvent(int /*long*/ source, int units, int wheelCount, int wheel1);
@@ -3353,9 +3353,9 @@ public static final native long CGEventGetIntegerValueField(int /*long*/ event,
*/
public static final native void CGEventPost(int tap, int /*long*/ event);
/**
- * @param stateID cast=(CGEventSourceStateID)
+ * @param sourceState cast=(CGEventSourceStateID)
*/
-public static final native int /*long*/ CGEventSourceCreate(int stateID);
+public static final native int /*long*/ CGEventSourceCreate(int sourceState);
/**
* @param rect flags=struct
* @param maxDisplays cast=(CGDisplayCount)

Back to the top