equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
26 #ifndef _AWT_DRAWING_SURFACE_H_ |
26 #ifndef _AWT_DRAWING_SURFACE_H_ |
27 #define _AWT_DRAWING_SURFACE_H_ |
27 #define _AWT_DRAWING_SURFACE_H_ |
28 |
28 |
29 #include <jawt.h> |
29 #include <jawt.h> |
30 #include <jni.h> |
30 #include <jni.h> |
31 #include <jni_util.h> |
|
32 |
31 |
33 _JNI_IMPORT_OR_EXPORT_ JAWT_DrawingSurface* JNICALL |
32 _JNI_IMPORT_OR_EXPORT_ JAWT_DrawingSurface* JNICALL |
34 awt_GetDrawingSurface(JNIEnv* env, jobject target); |
33 awt_GetDrawingSurface(JNIEnv* env, jobject target); |
35 |
34 |
36 _JNI_IMPORT_OR_EXPORT_ void JNICALL |
35 _JNI_IMPORT_OR_EXPORT_ void JNICALL |
43 awt_Unlock(JNIEnv* env); |
42 awt_Unlock(JNIEnv* env); |
44 |
43 |
45 _JNI_IMPORT_OR_EXPORT_ jobject JNICALL |
44 _JNI_IMPORT_OR_EXPORT_ jobject JNICALL |
46 awt_GetComponent(JNIEnv* env, void* platformInfo); |
45 awt_GetComponent(JNIEnv* env, void* platformInfo); |
47 |
46 |
|
47 _JNI_IMPORT_OR_EXPORT_ jobject JNICALL |
|
48 awt_CreateEmbeddedFrame(JNIEnv* env, void* platformInfo); |
|
49 |
|
50 _JNI_IMPORT_OR_EXPORT_ void JNICALL |
|
51 awt_SetBounds(JNIEnv *env, jobject embeddedFrame, jint x, jint y, |
|
52 jint w, jint h); |
|
53 |
|
54 _JNI_IMPORT_OR_EXPORT_ void JNICALL |
|
55 awt_SynthesizeWindowActivation(JNIEnv *env, jobject embeddedFrame, |
|
56 jboolean doActivate); |
48 #endif /* !_AWT_DRAWING_SURFACE_H_ */ |
57 #endif /* !_AWT_DRAWING_SURFACE_H_ */ |