diff options
author | Silenio Quarti <silenio> | 2008-04-11 19:03:38 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2008-04-11 19:03:38 +0000 |
commit | 9da76fa592a484a15f121fdf2a35999495858b74 (patch) | |
tree | 75c7c112e66e7e88f1ca44fee3e2585ffd724ca6 /bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c | |
parent | 36eaa6570a484e2f9bbbd219e6525409ed733fd2 (diff) | |
download | eclipse.platform.swt-9da76fa592a484a15f121fdf2a35999495858b74.tar.gz eclipse.platform.swt-9da76fa592a484a15f121fdf2a35999495858b74.tar.xz eclipse.platform.swt-9da76fa592a484a15f121fdf2a35999495858b74.zip |
226747 - CCombo arrow button not centered
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.c | 10 |
1 files changed, 10 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 3dc7dd7115..6eca87861a 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 @@ -2111,6 +2111,16 @@ JNIEXPORT void JNICALL OS_NATIVE(CGContextRestoreGState) } #endif +#ifndef NO_CGContextRotateCTM +JNIEXPORT void JNICALL OS_NATIVE(CGContextRotateCTM) + (JNIEnv *env, jclass that, jint arg0, jfloat arg1) +{ + OS_NATIVE_ENTER(env, that, CGContextRotateCTM_FUNC); + CGContextRotateCTM((CGContextRef)arg0, arg1); + OS_NATIVE_EXIT(env, that, CGContextRotateCTM_FUNC); +} +#endif + #ifndef NO_CGContextSaveGState JNIEXPORT void JNICALL OS_NATIVE(CGContextSaveGState) (JNIEnv *env, jclass that, jint arg0) |