aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/jawt.h
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2005-03-05 21:47:10 +0000
committerThomas Fitzsimmons <fitzsim@gcc.gnu.org>2005-03-05 21:47:10 +0000
commit011ad0584495ebbf43243a811166df479bba578c (patch)
treec15a9469945dc66556efc2b98914d3904ca49180 /libjava/include/jawt.h
parent3f724eb8a71c5aa02709ff34b93d272881bf69f8 (diff)
downloadgcc-011ad0584495ebbf43243a811166df479bba578c.zip
gcc-011ad0584495ebbf43243a811166df479bba578c.tar.gz
gcc-011ad0584495ebbf43243a811166df479bba578c.tar.bz2
gtk_jawt.c (classpath_jawt_get_drawable, [...]): New functions.
2005-02-15 Anthony Green <green@redhat.com> * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable, classpath_jawt_lock, classpath_jawt_unlock): New functions. * jawt.c (_Jv_JAWT_Lock, _Jv_JAWT_Unlock): New functions. (_Jv_GetDrawingSurface): Set visualID. (_Jv_FreeDrawingSurfaceInfo): Clear visualID. (JAWT_GetAWT): Set Lock and Unlock. * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add visualID. * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR, JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED, JAWT_LOCK_SURFACE_CHANGED): New macros. (struct _JAWT): Add Lock and Unlock. From-SVN: r95943
Diffstat (limited to 'libjava/include/jawt.h')
-rw-r--r--libjava/include/jawt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/include/jawt.h b/libjava/include/jawt.h
index 52cde83..fdff935 100644
--- a/libjava/include/jawt.h
+++ b/libjava/include/jawt.h
@@ -50,8 +50,12 @@ extern "C"
#endif
#define JAWT_VERSION_1_3 0x10003
+#define JAWT_VERSION_1_4 0x10004
#define JAWT_LOCK_ERROR 0x1
+#define JAWT_LOCK_CLIP_CHANGED 0x2
+#define JAWT_LOCK_BOUNDS_CHANGED 0x4
+#define JAWT_LOCK_SURFACE_CHANGED 0x8
struct _JAWT_DrawingSurfaceInfo
{
@@ -77,6 +81,8 @@ struct _JAWT
jint version;
struct _JAWT_DrawingSurface* (JNICALL* GetDrawingSurface) (JNIEnv*, jobject);
void (JNICALL* FreeDrawingSurface) (struct _JAWT_DrawingSurface*);
+ void (JNICALL *Lock) (JNIEnv*);
+ void (JNICALL *Unlock) (JNIEnv*);
};
typedef struct _JAWT_DrawingSurfaceInfo JAWT_DrawingSurfaceInfo;