Lines 1551-1568
Link Here
|
1551 |
} |
1551 |
} |
1552 |
#endif |
1552 |
#endif |
1553 |
|
1553 |
|
1554 |
#ifndef NO__1XDefaultScreen |
|
|
1555 |
JNIEXPORT jint JNICALL OS_NATIVE(_1XDefaultScreen) |
1556 |
(JNIEnv *env, jclass that, jint arg0) |
1557 |
{ |
1558 |
jint rc = 0; |
1559 |
OS_NATIVE_ENTER(env, that, _1XDefaultScreen_FUNC); |
1560 |
rc = (jint)XDefaultScreen((Display *)arg0); |
1561 |
OS_NATIVE_EXIT(env, that, _1XDefaultScreen_FUNC); |
1562 |
return rc; |
1563 |
} |
1564 |
#endif |
1565 |
|
1566 |
#ifndef NO__1XFlush |
1554 |
#ifndef NO__1XFlush |
1567 |
JNIEXPORT void JNICALL OS_NATIVE(_1XFlush) |
1555 |
JNIEXPORT void JNICALL OS_NATIVE(_1XFlush) |
1568 |
(JNIEnv *env, jclass that, jint arg0) |
1556 |
(JNIEnv *env, jclass that, jint arg0) |
Lines 3555-3560
Link Here
|
3555 |
} |
3543 |
} |
3556 |
#endif |
3544 |
#endif |
3557 |
|
3545 |
|
|
|
3546 |
#ifndef NO__1gdk_1colormap_1get_1screen |
3547 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1colormap_1get_1screen) |
3548 |
(JNIEnv *env, jclass that, jint arg0) |
3549 |
{ |
3550 |
jint rc = 0; |
3551 |
OS_NATIVE_ENTER(env, that, _1gdk_1colormap_1get_1screen_FUNC); |
3552 |
rc = (jint)gdk_colormap_get_screen((GdkColormap*)arg0); |
3553 |
OS_NATIVE_EXIT(env, that, _1gdk_1colormap_1get_1screen_FUNC); |
3554 |
return rc; |
3555 |
} |
3556 |
#endif |
3557 |
|
3558 |
#ifndef NO__1gdk_1colormap_1get_1system |
3558 |
#ifndef NO__1gdk_1colormap_1get_1system |
3559 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1colormap_1get_1system) |
3559 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1colormap_1get_1system) |
3560 |
(JNIEnv *env, jclass that) |
3560 |
(JNIEnv *env, jclass that) |
Lines 3620-3625
Link Here
|
3620 |
} |
3620 |
} |
3621 |
#endif |
3621 |
#endif |
3622 |
|
3622 |
|
|
|
3623 |
#ifndef NO__1gdk_1display_1get_1default |
3624 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1display_1get_1default) |
3625 |
(JNIEnv *env, jclass that) |
3626 |
{ |
3627 |
jint rc = 0; |
3628 |
OS_NATIVE_ENTER(env, that, _1gdk_1display_1get_1default_FUNC); |
3629 |
rc = (jint)gdk_display_get_default(); |
3630 |
OS_NATIVE_EXIT(env, that, _1gdk_1display_1get_1default_FUNC); |
3631 |
return rc; |
3632 |
} |
3633 |
#endif |
3634 |
|
3635 |
#ifndef NO__1gdk_1display_1get_1n_1screens |
3636 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1display_1get_1n_1screens) |
3637 |
(JNIEnv *env, jclass that, jint arg0) |
3638 |
{ |
3639 |
jint rc = 0; |
3640 |
OS_NATIVE_ENTER(env, that, _1gdk_1display_1get_1n_1screens_FUNC); |
3641 |
rc = (jint)gdk_display_get_n_screens((GdkDisplay*)arg0); |
3642 |
OS_NATIVE_EXIT(env, that, _1gdk_1display_1get_1n_1screens_FUNC); |
3643 |
return rc; |
3644 |
} |
3645 |
#endif |
3646 |
|
3647 |
#ifndef NO__1gdk_1display_1get_1pointer |
3648 |
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1display_1get_1pointer) |
3649 |
(JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2, jintArray arg3, jintArray arg4) |
3650 |
{ |
3651 |
jint *lparg1=NULL; |
3652 |
jint *lparg2=NULL; |
3653 |
jint *lparg3=NULL; |
3654 |
jint *lparg4=NULL; |
3655 |
OS_NATIVE_ENTER(env, that, _1gdk_1display_1get_1pointer_FUNC); |
3656 |
if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail; |
3657 |
if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail; |
3658 |
if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail; |
3659 |
if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail; |
3660 |
gdk_display_get_pointer((GdkDisplay*)arg0, (GdkScreen**)lparg1, (gint*)lparg2, (gint*)lparg3, (GdkModifierType*)lparg4); |
3661 |
fail: |
3662 |
if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0); |
3663 |
if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0); |
3664 |
if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0); |
3665 |
if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0); |
3666 |
OS_NATIVE_EXIT(env, that, _1gdk_1display_1get_1pointer_FUNC); |
3667 |
} |
3668 |
#endif |
3669 |
|
3670 |
#ifndef NO__1gdk_1display_1get_1screen |
3671 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1display_1get_1screen) |
3672 |
(JNIEnv *env, jclass that, jint arg0, jint arg1) |
3673 |
{ |
3674 |
jint rc = 0; |
3675 |
OS_NATIVE_ENTER(env, that, _1gdk_1display_1get_1screen_FUNC); |
3676 |
rc = (jint)gdk_display_get_screen((GdkDisplay*)arg0, (gint)arg1); |
3677 |
OS_NATIVE_EXIT(env, that, _1gdk_1display_1get_1screen_FUNC); |
3678 |
return rc; |
3679 |
} |
3680 |
#endif |
3681 |
|
3682 |
#ifndef NO__1gdk_1display_1warp_1pointer |
3683 |
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1display_1warp_1pointer) |
3684 |
(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3) |
3685 |
{ |
3686 |
OS_NATIVE_ENTER(env, that, _1gdk_1display_1warp_1pointer_FUNC); |
3687 |
gdk_display_warp_pointer((GdkDisplay*)arg0, (GdkScreen*)arg1, (gint)arg2, (gint)arg3); |
3688 |
OS_NATIVE_EXIT(env, that, _1gdk_1display_1warp_1pointer_FUNC); |
3689 |
} |
3690 |
#endif |
3691 |
|
3623 |
#ifndef NO__1gdk_1drag_1status |
3692 |
#ifndef NO__1gdk_1drag_1status |
3624 |
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1drag_1status) |
3693 |
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1drag_1status) |
3625 |
(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2) |
3694 |
(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2) |
Lines 3821-3826
Link Here
|
3821 |
} |
3890 |
} |
3822 |
#endif |
3891 |
#endif |
3823 |
|
3892 |
|
|
|
3893 |
#ifndef NO__1gdk_1drawable_1get_1screen |
3894 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1drawable_1get_1screen) |
3895 |
(JNIEnv *env, jclass that, jint arg0) |
3896 |
{ |
3897 |
jint rc = 0; |
3898 |
OS_NATIVE_ENTER(env, that, _1gdk_1drawable_1get_1screen_FUNC); |
3899 |
rc = (jint)gdk_drawable_get_screen((GdkDrawable*)arg0); |
3900 |
OS_NATIVE_EXIT(env, that, _1gdk_1drawable_1get_1screen_FUNC); |
3901 |
return rc; |
3902 |
} |
3903 |
#endif |
3904 |
|
3824 |
#ifndef NO__1gdk_1drawable_1get_1size |
3905 |
#ifndef NO__1gdk_1drawable_1get_1size |
3825 |
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1drawable_1get_1size) |
3906 |
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1drawable_1get_1size) |
3826 |
(JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2) |
3907 |
(JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2) |
Lines 4052-4057
Link Here
|
4052 |
} |
4133 |
} |
4053 |
#endif |
4134 |
#endif |
4054 |
|
4135 |
|
|
|
4136 |
#ifndef NO__1gdk_1gc_1get_1screen |
4137 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1gc_1get_1screen) |
4138 |
(JNIEnv *env, jclass that, jint arg0) |
4139 |
{ |
4140 |
jint rc = 0; |
4141 |
OS_NATIVE_ENTER(env, that, _1gdk_1gc_1get_1screen_FUNC); |
4142 |
rc = (jint)gdk_gc_get_screen((GdkGC*)arg0); |
4143 |
OS_NATIVE_EXIT(env, that, _1gdk_1gc_1get_1screen_FUNC); |
4144 |
return rc; |
4145 |
} |
4146 |
#endif |
4147 |
|
4055 |
#ifndef NO__1gdk_1gc_1get_1values |
4148 |
#ifndef NO__1gdk_1gc_1get_1values |
4056 |
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1gc_1get_1values) |
4149 |
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1gc_1get_1values) |
4057 |
(JNIEnv *env, jclass that, jint arg0, jobject arg1) |
4150 |
(JNIEnv *env, jclass that, jint arg0, jobject arg1) |
Lines 4351-4356
Link Here
|
4351 |
} |
4444 |
} |
4352 |
#endif |
4445 |
#endif |
4353 |
|
4446 |
|
|
|
4447 |
#ifndef NO__1gdk_1pango_1context_1get_1for_1screen |
4448 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1pango_1context_1get_1for_1screen) |
4449 |
(JNIEnv *env, jclass that, jint arg0) |
4450 |
{ |
4451 |
jint rc = 0; |
4452 |
OS_NATIVE_ENTER(env, that, _1gdk_1pango_1context_1get_1for_1screen_FUNC); |
4453 |
rc = (jint)gdk_pango_context_get_for_screen((GdkScreen*)arg0); |
4454 |
OS_NATIVE_EXIT(env, that, _1gdk_1pango_1context_1get_1for_1screen_FUNC); |
4455 |
return rc; |
4456 |
} |
4457 |
#endif |
4458 |
|
4354 |
#ifndef NO__1gdk_1pango_1context_1set_1colormap |
4459 |
#ifndef NO__1gdk_1pango_1context_1set_1colormap |
4355 |
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1pango_1context_1set_1colormap) |
4460 |
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1pango_1context_1set_1colormap) |
4356 |
(JNIEnv *env, jclass that, jint arg0, jint arg1) |
4461 |
(JNIEnv *env, jclass that, jint arg0, jint arg1) |
Lines 4964-4969
Link Here
|
4964 |
} |
5069 |
} |
4965 |
#endif |
5070 |
#endif |
4966 |
|
5071 |
|
|
|
5072 |
#ifndef NO__1gdk_1screen_1get_1rgb_1visual |
5073 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1screen_1get_1rgb_1visual) |
5074 |
(JNIEnv *env, jclass that, jint arg0) |
5075 |
{ |
5076 |
jint rc = 0; |
5077 |
OS_NATIVE_ENTER(env, that, _1gdk_1screen_1get_1rgb_1visual_FUNC); |
5078 |
rc = (jint)gdk_screen_get_rgb_visual((GdkScreen*)arg0); |
5079 |
OS_NATIVE_EXIT(env, that, _1gdk_1screen_1get_1rgb_1visual_FUNC); |
5080 |
return rc; |
5081 |
} |
5082 |
#endif |
5083 |
|
5084 |
#ifndef NO__1gdk_1screen_1get_1root_1window |
5085 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1screen_1get_1root_1window) |
5086 |
(JNIEnv *env, jclass that, jint arg0) |
5087 |
{ |
5088 |
jint rc = 0; |
5089 |
OS_NATIVE_ENTER(env, that, _1gdk_1screen_1get_1root_1window_FUNC); |
5090 |
rc = (jint)gdk_screen_get_root_window((GdkScreen*)arg0); |
5091 |
OS_NATIVE_EXIT(env, that, _1gdk_1screen_1get_1root_1window_FUNC); |
5092 |
return rc; |
5093 |
} |
5094 |
#endif |
5095 |
|
5096 |
#ifndef NO__1gdk_1screen_1get_1system_1colormap |
5097 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1screen_1get_1system_1colormap) |
5098 |
(JNIEnv *env, jclass that, jint arg0) |
5099 |
{ |
5100 |
jint rc = 0; |
5101 |
OS_NATIVE_ENTER(env, that, _1gdk_1screen_1get_1system_1colormap_FUNC); |
5102 |
rc = (jint)gdk_screen_get_system_colormap((GdkScreen*)arg0); |
5103 |
OS_NATIVE_EXIT(env, that, _1gdk_1screen_1get_1system_1colormap_FUNC); |
5104 |
return rc; |
5105 |
} |
5106 |
#endif |
5107 |
|
5108 |
#ifndef NO__1gdk_1screen_1get_1width |
5109 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1screen_1get_1width) |
5110 |
(JNIEnv *env, jclass that, jint arg0) |
5111 |
{ |
5112 |
jint rc = 0; |
5113 |
OS_NATIVE_ENTER(env, that, _1gdk_1screen_1get_1width_FUNC); |
5114 |
rc = (jint)gdk_screen_get_width((GdkScreen*)arg0); |
5115 |
OS_NATIVE_EXIT(env, that, _1gdk_1screen_1get_1width_FUNC); |
5116 |
return rc; |
5117 |
} |
5118 |
#endif |
5119 |
|
4967 |
#ifndef NO__1gdk_1screen_1height |
5120 |
#ifndef NO__1gdk_1screen_1height |
4968 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1screen_1height) |
5121 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1screen_1height) |
4969 |
(JNIEnv *env, jclass that) |
5122 |
(JNIEnv *env, jclass that) |
Lines 14315-14320
Link Here
|
14315 |
} |
14468 |
} |
14316 |
#endif |
14469 |
#endif |
14317 |
|
14470 |
|
|
|
14471 |
#ifndef NO__1gtk_1widget_1get_1screen |
14472 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gtk_1widget_1get_1screen) |
14473 |
(JNIEnv *env, jclass that, jint arg0) |
14474 |
{ |
14475 |
jint rc = 0; |
14476 |
OS_NATIVE_ENTER(env, that, _1gtk_1widget_1get_1screen_FUNC); |
14477 |
rc = (jint)gtk_widget_get_screen((GtkWidget*)arg0); |
14478 |
OS_NATIVE_EXIT(env, that, _1gtk_1widget_1get_1screen_FUNC); |
14479 |
return rc; |
14480 |
} |
14481 |
#endif |
14482 |
|
14318 |
#ifndef NO__1gtk_1widget_1get_1size_1request |
14483 |
#ifndef NO__1gtk_1widget_1get_1size_1request |
14319 |
JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1widget_1get_1size_1request) |
14484 |
JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1widget_1get_1size_1request) |
14320 |
(JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2) |
14485 |
(JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2) |
Lines 14853-14858
Link Here
|
14853 |
} |
15018 |
} |
14854 |
#endif |
15019 |
#endif |
14855 |
|
15020 |
|
|
|
15021 |
#ifndef NO__1gtk_1window_1get_1screen |
15022 |
JNIEXPORT jint JNICALL OS_NATIVE(_1gtk_1window_1get_1screen) |
15023 |
(JNIEnv *env, jclass that, jint arg0) |
15024 |
{ |
15025 |
jint rc = 0; |
15026 |
OS_NATIVE_ENTER(env, that, _1gtk_1window_1get_1screen_FUNC); |
15027 |
rc = (jint)gtk_window_get_screen((GtkWindow*)arg0); |
15028 |
OS_NATIVE_EXIT(env, that, _1gtk_1window_1get_1screen_FUNC); |
15029 |
return rc; |
15030 |
} |
15031 |
#endif |
15032 |
|
14856 |
#ifndef NO__1gtk_1window_1get_1size |
15033 |
#ifndef NO__1gtk_1window_1get_1size |
14857 |
JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1window_1get_1size) |
15034 |
JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1window_1get_1size) |
14858 |
(JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2) |
15035 |
(JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2) |
Lines 15005-15010
Link Here
|
15005 |
} |
15182 |
} |
15006 |
#endif |
15183 |
#endif |
15007 |
|
15184 |
|
|
|
15185 |
#ifndef NO__1gtk_1window_1set_1screen |
15186 |
JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1window_1set_1screen) |
15187 |
(JNIEnv *env, jclass that, jint arg0, jint arg1) |
15188 |
{ |
15189 |
OS_NATIVE_ENTER(env, that, _1gtk_1window_1set_1screen_FUNC); |
15190 |
gtk_window_set_screen((GtkWindow *)arg0, (GdkScreen *)arg1); |
15191 |
OS_NATIVE_EXIT(env, that, _1gtk_1window_1set_1screen_FUNC); |
15192 |
} |
15193 |
#endif |
15194 |
|
15008 |
#ifndef NO__1gtk_1window_1set_1title |
15195 |
#ifndef NO__1gtk_1window_1set_1title |
15009 |
JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1window_1set_1title) |
15196 |
JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1window_1set_1title) |
15010 |
(JNIEnv *env, jclass that, jint arg0, jbyteArray arg1) |
15197 |
(JNIEnv *env, jclass that, jint arg0, jbyteArray arg1) |