summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2008-04-10 16:03:43 +0000
committerSilenio Quarti <silenio>2008-04-10 16:03:43 +0000
commit626fa400c049383fff7a521ea85642c1452435cc (patch)
tree220ab93c714a4ecd2b04e536cdab35f07a68aac5 /bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
parent5bb98690a54122d614fad2d467c682c2744e7690 (diff)
downloadeclipse.platform.swt-626fa400c049383fff7a521ea85642c1452435cc.tar.gz
eclipse.platform.swt-626fa400c049383fff7a521ea85642c1452435cc.tar.xz
eclipse.platform.swt-626fa400c049383fff7a521ea85642c1452435cc.zip
42488 - Mouse cursor does not hide when typing on Windows
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
index a9ec3f6e26..8a557a1cb9 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
@@ -2579,6 +2579,18 @@ JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayBytesPerRow)
}
#endif
+#ifndef NO_CGDisplayHideCursor
+JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayHideCursor)
+ (JNIEnv *env, jclass that, jint arg0)
+{
+ jint rc = 0;
+ OS_NATIVE_ENTER(env, that, CGDisplayHideCursor_FUNC);
+ rc = (jint)CGDisplayHideCursor(arg0);
+ OS_NATIVE_EXIT(env, that, CGDisplayHideCursor_FUNC);
+ return rc;
+}
+#endif
+
#ifndef NO_CGDisplayPixelsHigh
JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayPixelsHigh)
(JNIEnv *env, jclass that, jint arg0)
@@ -2603,6 +2615,18 @@ JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayPixelsWide)
}
#endif
+#ifndef NO_CGDisplayShowCursor
+JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayShowCursor)
+ (JNIEnv *env, jclass that, jint arg0)
+{
+ jint rc = 0;
+ OS_NATIVE_ENTER(env, that, CGDisplayShowCursor_FUNC);
+ rc = (jint)CGDisplayShowCursor(arg0);
+ OS_NATIVE_EXIT(env, that, CGDisplayShowCursor_FUNC);
+ return rc;
+}
+#endif
+
#ifndef NO_CGFontCreateWithPlatformFont
JNIEXPORT jint JNICALL OS_NATIVE(CGFontCreateWithPlatformFont)
(JNIEnv *env, jclass that, jintArray arg0)
@@ -2870,6 +2894,18 @@ JNIEXPORT void JNICALL OS_NATIVE(CGImageRelease)
}
#endif
+#ifndef NO_CGMainDisplayID
+JNIEXPORT jint JNICALL OS_NATIVE(CGMainDisplayID)
+ (JNIEnv *env, jclass that)
+{
+ jint rc = 0;
+ OS_NATIVE_ENTER(env, that, CGMainDisplayID_FUNC);
+ rc = (jint)CGMainDisplayID();
+ OS_NATIVE_EXIT(env, that, CGMainDisplayID_FUNC);
+ return rc;
+}
+#endif
+
#ifndef NO_CGPathAddArc
JNIEXPORT void JNICALL OS_NATIVE(CGPathAddArc)
(JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jfloat arg2, jfloat arg3, jfloat arg4, jfloat arg5, jfloat arg6, jboolean arg7)