summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/peer/gtk
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/java/awt/peer/gtk
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/gnu/java/awt/peer/gtk')
-rw-r--r--libjava/gnu/java/awt/peer/gtk/AsyncImage$Loader.h53
-rw-r--r--libjava/gnu/java/awt/peer/gtk/AsyncImage$NullImageSource.h60
-rw-r--r--libjava/gnu/java/awt/peer/gtk/AsyncImage.h71
-rw-r--r--libjava/gnu/java/awt/peer/gtk/BufferedImageGraphics.h103
-rw-r--r--libjava/gnu/java/awt/peer/gtk/CairoGraphics2D.h279
-rw-r--r--libjava/gnu/java/awt/peer/gtk/CairoSurface.h108
-rw-r--r--libjava/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.h93
-rw-r--r--libjava/gnu/java/awt/peer/gtk/ComponentGraphics.h152
-rw-r--r--libjava/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.h78
-rw-r--r--libjava/gnu/java/awt/peer/gtk/FreetypeGlyphVector.h122
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontLineMetrics.h57
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontMetrics.h61
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkFontPeer.h147
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.h78
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h93
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReader.h89
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReaderSpi.h48
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriter.h70
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriterSpi.h49
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$ImageFormatSpec.h44
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder.h115
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkRobotPeer.h70
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice$X11DisplayMode.h44
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.h103
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkButtonPeer.h68
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkCanvasPeer.h49
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.h51
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkCheckboxPeer.h70
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkChoicePeer.h69
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkClipboard.h73
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkClipboardNotifier.h47
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkComponentPeer$RepaintTimerTask.h57
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.h208
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.h64
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkCursor.h53
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkDialogPeer.h48
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.h44
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkFileDialogPeer.h80
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkFramePeer.h91
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkGenericPeer.h72
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkImage.h113
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkImageConsumer.h70
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkLabelPeer.h64
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkListPeer.h80
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMainThread.h53
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMenuBarPeer.h57
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h52
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMenuItemPeer.h57
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMenuPeer.h66
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.h52
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkPanelPeer.h52
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.h54
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkScrollPanePeer.h62
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkScrollbarPeer.h57
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkSelection.h94
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.h89
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkTextFieldPeer.h80
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkToolkit$LRUCache.h43
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkToolkit.h250
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkVolatileImage.h98
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkWindowPeer.h133
-rw-r--r--libjava/gnu/java/awt/peer/gtk/VolatileImageGraphics.h90
62 files changed, 5097 insertions, 0 deletions
diff --git a/libjava/gnu/java/awt/peer/gtk/AsyncImage$Loader.h b/libjava/gnu/java/awt/peer/gtk/AsyncImage$Loader.h
new file mode 100644
index 000000000..aa276f4e6
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/AsyncImage$Loader.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_AsyncImage$Loader__
+#define __gnu_java_awt_peer_gtk_AsyncImage$Loader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class AsyncImage;
+ class AsyncImage$Loader;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::AsyncImage$Loader : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AsyncImage$Loader(::gnu::java::awt::peer::gtk::AsyncImage *, ::java::net::URL *);
+public:
+ virtual void run();
+private:
+ ::java::net::URL * __attribute__((aligned(__alignof__( ::java::lang::Object)))) url;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::AsyncImage * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_AsyncImage$Loader__
diff --git a/libjava/gnu/java/awt/peer/gtk/AsyncImage$NullImageSource.h b/libjava/gnu/java/awt/peer/gtk/AsyncImage$NullImageSource.h
new file mode 100644
index 000000000..86bfeae7a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/AsyncImage$NullImageSource.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_AsyncImage$NullImageSource__
+#define __gnu_java_awt_peer_gtk_AsyncImage$NullImageSource__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class AsyncImage;
+ class AsyncImage$NullImageSource;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ImageConsumer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::AsyncImage$NullImageSource : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AsyncImage$NullImageSource(::gnu::java::awt::peer::gtk::AsyncImage *);
+public:
+ virtual void addConsumer(::java::awt::image::ImageConsumer *);
+ virtual jboolean isConsumer(::java::awt::image::ImageConsumer *);
+ virtual void removeConsumer(::java::awt::image::ImageConsumer *);
+ virtual void requestTopDownLeftRightResend(::java::awt::image::ImageConsumer *);
+ virtual void startProduction(::java::awt::image::ImageConsumer *);
+private:
+ ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) consumers;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::AsyncImage * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_AsyncImage$NullImageSource__
diff --git a/libjava/gnu/java/awt/peer/gtk/AsyncImage.h b/libjava/gnu/java/awt/peer/gtk/AsyncImage.h
new file mode 100644
index 000000000..d1735ea4c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/AsyncImage.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_AsyncImage__
+#define __gnu_java_awt_peer_gtk_AsyncImage__
+
+#pragma interface
+
+#include <java/awt/Image.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class AsyncImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class Image;
+ namespace image
+ {
+ class ImageObserver;
+ class ImageProducer;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::AsyncImage : public ::java::awt::Image
+{
+
+public: // actually package-private
+ AsyncImage(::java::net::URL *);
+public:
+ virtual void flush();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual jint getHeight(::java::awt::image::ImageObserver *);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::image::ImageProducer * getSource();
+ virtual jint getWidth(::java::awt::image::ImageObserver *);
+public: // actually package-private
+ virtual void addObserver(::java::awt::image::ImageObserver *);
+ static ::java::awt::Image * realImage(::java::awt::Image *, ::java::awt::image::ImageObserver *);
+ virtual void notifyObservers(jint);
+ virtual jint checkImage(::java::awt::image::ImageObserver *);
+ ::java::awt::Image * __attribute__((aligned(__alignof__( ::java::awt::Image)))) realImage__;
+ ::java::util::HashSet * observers;
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_AsyncImage__
diff --git a/libjava/gnu/java/awt/peer/gtk/BufferedImageGraphics.h b/libjava/gnu/java/awt/peer/gtk/BufferedImageGraphics.h
new file mode 100644
index 000000000..032eb270c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/BufferedImageGraphics.h
@@ -0,0 +1,103 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_BufferedImageGraphics__
+#define __gnu_java_awt_peer_gtk_BufferedImageGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/CairoGraphics2D.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class BufferedImageGraphics;
+ class CairoSurface;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Shape;
+ namespace font
+ {
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ class RenderedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::BufferedImageGraphics : public ::gnu::java::awt::peer::gtk::CairoGraphics2D
+{
+
+public:
+ BufferedImageGraphics(::java::awt::image::BufferedImage *);
+public: // actually package-private
+ BufferedImageGraphics(::gnu::java::awt::peer::gtk::BufferedImageGraphics *);
+private:
+ void updateBufferedImage(jint, jint, jint, jint);
+public:
+ virtual ::java::awt::Graphics * create();
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * getRealBounds();
+public:
+ virtual void copyAreaImpl(jint, jint, jint, jint, jint, jint);
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+private:
+ jboolean drawComposite(::java::awt::geom::Rectangle2D *, ::java::awt::image::ImageObserver *);
+ void createBuffer();
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getNativeCM();
+ virtual ::java::awt::image::ColorModel * getBufferCM();
+private:
+ ::java::awt::image::BufferedImage * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::CairoGraphics2D)))) image;
+ ::java::awt::image::BufferedImage * buffer;
+ jint imageWidth;
+ jint imageHeight;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::CairoSurface * surface;
+ static ::java::util::WeakHashMap * bufferedImages;
+private:
+ jlong cairo_t;
+ jboolean hasFastCM;
+ jboolean hasAlpha;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_BufferedImageGraphics__
diff --git a/libjava/gnu/java/awt/peer/gtk/CairoGraphics2D.h b/libjava/gnu/java/awt/peer/gtk/CairoGraphics2D.h
new file mode 100644
index 000000000..5d5ee497d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/CairoGraphics2D.h
@@ -0,0 +1,279 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_CairoGraphics2D__
+#define __gnu_java_awt_peer_gtk_CairoGraphics2D__
+
+#pragma interface
+
+#include <java/awt/Graphics2D.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class CairoGraphics2D;
+ class CairoSurface;
+ class GdkFontPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class BasicStroke;
+ class Color;
+ class Composite;
+ class CompositeContext;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Paint;
+ class Rectangle;
+ class RenderingHints;
+ class RenderingHints$Key;
+ class Shape;
+ class Stroke;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class PathIterator;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class BufferedImageOp;
+ class ColorModel;
+ class ImageObserver;
+ class Raster;
+ class RenderedImage;
+ namespace renderable
+ {
+ class RenderableImage;
+ }
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::CairoGraphics2D : public ::java::awt::Graphics2D
+{
+
+public:
+ CairoGraphics2D();
+ virtual void setup(jlong);
+ virtual void copy(::gnu::java::awt::peer::gtk::CairoGraphics2D *, jlong);
+ virtual void finalize();
+ virtual void dispose();
+public: // actually protected
+ virtual jlong init(jlong);
+public:
+ virtual ::java::awt::Graphics * create() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration() = 0;
+public: // actually protected
+ virtual void copyAreaImpl(jint, jint, jint, jint, jint, jint) = 0;
+ virtual ::java::awt::geom::Rectangle2D * getRealBounds() = 0;
+public:
+ virtual void disposeNative(jlong);
+public: // actually protected
+ virtual void drawPixels(jlong, JArray< jint > *, jint, jint, jint, JArray< jdouble > *, jdouble, jint);
+ virtual void setGradient(jlong, jdouble, jdouble, jdouble, jdouble, jint, jint, jint, jint, jint, jint, jint, jint, jboolean);
+ virtual void setPaintPixels(jlong, JArray< jint > *, jint, jint, jint, jboolean, jint, jint);
+ virtual void cairoSetMatrix(jlong, JArray< jdouble > *);
+ virtual void cairoScale(jlong, jdouble, jdouble);
+ virtual void cairoSetOperator(jlong, jint);
+ virtual void cairoSetRGBAColor(jlong, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoSetFillRule(jlong, jint);
+ virtual void cairoSetLine(jlong, jdouble, jint, jint, jdouble);
+ virtual void cairoSetDash(jlong, JArray< jdouble > *, jint, jdouble);
+ virtual void cairoDrawGlyphVector(jlong, ::gnu::java::awt::peer::gtk::GdkFontPeer *, jfloat, jfloat, jint, JArray< jint > *, JArray< jfloat > *, JArray< jlong > *);
+ virtual void cairoSetFont(jlong, ::gnu::java::awt::peer::gtk::GdkFontPeer *);
+ virtual void cairoRectangle(jlong, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoArc(jlong, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoSave(jlong);
+ virtual void cairoRestore(jlong);
+ virtual void cairoNewPath(jlong);
+ virtual void cairoClosePath(jlong);
+ virtual void cairoMoveTo(jlong, jdouble, jdouble);
+ virtual void cairoLineTo(jlong, jdouble, jdouble);
+ virtual void cairoCurveTo(jlong, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoStroke(jlong);
+ virtual void cairoFill(jlong, jdouble);
+ virtual void cairoClip(jlong);
+ virtual void cairoResetClip(jlong);
+ virtual void cairoSetAntialias(jlong, jboolean);
+public:
+ virtual void setTransform(::java::awt::geom::AffineTransform *);
+private:
+ void setTransformImpl(::java::awt::geom::AffineTransform *);
+public:
+ virtual void transform(::java::awt::geom::AffineTransform *);
+ virtual void rotate(jdouble);
+ virtual void rotate(jdouble, jdouble, jdouble);
+ virtual void scale(jdouble, jdouble);
+ virtual void translate(jdouble, jdouble);
+ virtual void translate(jint, jint);
+ virtual void shear(jdouble, jdouble);
+ virtual void clip(::java::awt::Shape *);
+ virtual ::java::awt::Paint * getPaint();
+ virtual ::java::awt::geom::AffineTransform * getTransform();
+ virtual void setPaint(::java::awt::Paint *);
+public: // actually protected
+ virtual void setCustomPaint(::java::awt::Rectangle *);
+public:
+ virtual ::java::awt::Stroke * getStroke();
+ virtual void setStroke(::java::awt::Stroke *);
+public: // actually protected
+ virtual ::java::awt::Rectangle * findStrokedBounds(::java::awt::Shape *);
+public:
+ virtual void setPaintMode();
+ virtual void setXORMode(::java::awt::Color *);
+ virtual void setColor(::java::awt::Color *);
+public: // actually package-private
+ virtual void updateColor();
+public:
+ virtual ::java::awt::Color * getColor();
+ virtual void clipRect(jint, jint, jint, jint);
+ virtual ::java::awt::Shape * getClip();
+ virtual ::java::awt::Rectangle * getClipBounds();
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * getClipInDevSpace();
+public:
+ virtual void setClip(jint, jint, jint, jint);
+ virtual void setClip(::java::awt::Shape *);
+ virtual void setBackground(::java::awt::Color *);
+ virtual ::java::awt::Color * getBackground();
+ virtual ::java::awt::Composite * getComposite();
+ virtual void setComposite(::java::awt::Composite *);
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getNativeCM() = 0;
+ virtual ::java::awt::image::ColorModel * getBufferCM();
+public:
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+private:
+ void createPath(::java::awt::Shape *, jboolean);
+public:
+ virtual void clearRect(jint, jint, jint, jint);
+ virtual void draw3DRect(jint, jint, jint, jint, jboolean);
+ virtual void drawArc(jint, jint, jint, jint, jint, jint);
+ virtual void drawLine(jint, jint, jint, jint);
+ virtual void drawRect(jint, jint, jint, jint);
+ virtual void fillArc(jint, jint, jint, jint, jint, jint);
+ virtual void fillRect(jint, jint, jint, jint);
+ virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint);
+ virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint);
+ virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint);
+ virtual void drawOval(jint, jint, jint, jint);
+ virtual void drawRoundRect(jint, jint, jint, jint, jint, jint);
+ virtual void fillOval(jint, jint, jint, jint);
+ virtual void fillRoundRect(jint, jint, jint, jint, jint, jint);
+ virtual void copyArea(jint, jint, jint, jint, jint, jint);
+ virtual void setRenderingHint(::java::awt::RenderingHints$Key *, ::java::lang::Object *);
+ virtual ::java::lang::Object * getRenderingHint(::java::awt::RenderingHints$Key *);
+ virtual void setRenderingHints(::java::util::Map *);
+ virtual void addRenderingHints(::java::util::Map *);
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+private:
+ jint getInterpolation();
+ void setAntialias(jboolean);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+ virtual void drawRenderableImage(::java::awt::image::renderable::RenderableImage *, ::java::awt::geom::AffineTransform *);
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::image::ImageObserver *);
+ virtual void drawImage(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImageOp *, jint, jint);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+public: // actually protected
+ virtual void drawCairoSurface(::gnu::java::awt::peer::gtk::CairoSurface *, ::java::awt::geom::AffineTransform *, jdouble, jint);
+public:
+ virtual void drawString(::java::lang::String *, jfloat, jfloat);
+ virtual void drawString(::java::lang::String *, jint, jint);
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint);
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jfloat, jfloat);
+ virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
+ virtual ::java::awt::FontMetrics * getFontMetrics();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual void setFont(::java::awt::Font *);
+ virtual ::java::awt::Font * getFont();
+ virtual jboolean hit(::java::awt::Rectangle *, ::java::awt::Shape *, jboolean);
+ virtual ::java::lang::String * toString();
+private:
+ jboolean drawRaster(::java::awt::image::ColorModel *, ::java::awt::image::Raster *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *);
+ jdouble shiftX(jdouble, jboolean);
+ jdouble shiftY(jdouble, jboolean);
+ void walkPath(::java::awt::geom::PathIterator *, jboolean);
+ ::java::util::Map * getDefaultHints();
+public:
+ static JArray< jint > * findSimpleIntegerArray(::java::awt::image::ColorModel *, ::java::awt::image::Raster *);
+private:
+ void updateClip(::java::awt::geom::AffineTransform *);
+ static ::java::awt::Rectangle * computeIntersection(jint, jint, jint, jint, ::java::awt::Rectangle *);
+public: // actually package-private
+ static ::java::awt::geom::Rectangle2D * getTransformedBounds(::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *);
+ jlong __attribute__((aligned(__alignof__( ::java::awt::Graphics2D)))) nativePointer;
+ ::java::awt::Paint * paint;
+ jboolean customPaint;
+ ::java::awt::Stroke * stroke;
+ ::java::awt::Color * fg;
+ ::java::awt::Color * bg;
+ ::java::awt::Shape * clip__;
+ ::java::awt::geom::AffineTransform * transform__;
+ ::java::awt::Font * font;
+ ::java::awt::Composite * comp;
+ ::java::awt::CompositeContext * compCtx;
+private:
+ ::java::awt::RenderingHints * hints;
+ jboolean antialias;
+ jboolean ignoreAA;
+public: // actually protected
+ jboolean shiftDrawCalls;
+private:
+ jboolean firstClip;
+ ::java::awt::Shape * originalClip;
+ static ::java::awt::BasicStroke * draw3DRectStroke;
+public: // actually package-private
+ static ::java::awt::image::ColorModel * rgb32;
+ static ::java::awt::image::ColorModel * argb32;
+public:
+ static const jint INTERPOLATION_NEAREST = 0;
+ static const jint INTERPOLATION_BILINEAR = 1;
+ static const jint INTERPOLATION_BICUBIC = 5;
+ static const jint ALPHA_INTERPOLATION_SPEED = 2;
+ static const jint ALPHA_INTERPOLATION_QUALITY = 3;
+ static const jint ALPHA_INTERPOLATION_DEFAULT = 4;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_CairoGraphics2D__
diff --git a/libjava/gnu/java/awt/peer/gtk/CairoSurface.h b/libjava/gnu/java/awt/peer/gtk/CairoSurface.h
new file mode 100644
index 000000000..7e34ee923
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/CairoSurface.h
@@ -0,0 +1,108 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_CairoSurface__
+#define __gnu_java_awt_peer_gtk_CairoSurface__
+
+#pragma interface
+
+#include <java/awt/image/WritableRaster.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class CairoSurface;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics2D;
+ class Point;
+ class Rectangle;
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class Raster;
+ class SampleModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::CairoSurface : public ::java::awt::image::WritableRaster
+{
+
+ void create(jint, jint, jint, JArray< jint > *);
+ void destroy(jlong, JArray< jint > *);
+public:
+ virtual void nativeDrawSurface(jlong, jlong, JArray< jdouble > *, jdouble, jint);
+public: // actually package-private
+ virtual void syncNativeToJava(jlong, JArray< jint > *);
+ virtual void syncJavaToNative(jlong, JArray< jint > *);
+ virtual jlong getFlippedBuffer(jlong);
+public:
+ CairoSurface(jint, jint);
+ CairoSurface(jint, jint, jint, jint);
+ CairoSurface(::java::awt::image::SampleModel *, ::gnu::java::awt::peer::gtk::CairoSurface *, ::java::awt::Rectangle *, ::java::awt::Point *);
+public: // actually package-private
+ CairoSurface(::gnu::java::awt::peer::gtk::GtkImage *);
+public:
+ virtual void dispose();
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual ::gnu::java::awt::peer::gtk::GtkImage * getGtkImage();
+ virtual JArray< jint > * getData();
+ static ::java::awt::image::BufferedImage * getBufferedImage(jint, jint);
+ static ::java::awt::image::BufferedImage * getBufferedImage(::gnu::java::awt::peer::gtk::GtkImage *);
+ static ::java::awt::image::BufferedImage * getBufferedImage(::gnu::java::awt::peer::gtk::CairoSurface *);
+ virtual ::java::awt::Graphics2D * getGraphics();
+public: // actually package-private
+ virtual jlong nativeNewCairoContext(jlong);
+public:
+ virtual jlong newCairoContext();
+ virtual void copyAreaNative(jint, jint, jint, jint, jint, jint, jint);
+public: // actually package-private
+ virtual void copyAreaNative2(jlong, jint, jint, jint, jint, jint, jint, jint);
+public: // actually protected
+ static ::java::awt::image::SampleModel * createCairoSampleModel(jint, jint);
+public:
+ static jboolean isCompatibleColorModel(::java::awt::image::ColorModel *);
+ static jboolean isCompatibleSampleModel(::java::awt::image::SampleModel *);
+ virtual ::java::awt::image::Raster * createChild(jint, jint, jint, jint, jint, jint, JArray< jint > *);
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster();
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint, jint, jint);
+ virtual ::java::awt::image::Raster * createTranslatedChild(jint, jint);
+ virtual ::java::awt::image::WritableRaster * createWritableChild(jint, jint, jint, jint, jint, jint, JArray< jint > *);
+ virtual ::java::awt::image::WritableRaster * createWritableTranslatedChild(jint, jint);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::WritableRaster)))) width;
+ jint height;
+ jlong surfacePointer;
+ jboolean sharedBuffer;
+ static ::java::awt::image::ColorModel * cairoColorModel;
+ static ::java::awt::image::ColorModel * cairoCM_pre;
+ static ::java::awt::image::ColorModel * cairoCM_opaque;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_CairoSurface__
diff --git a/libjava/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.h b/libjava/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.h
new file mode 100644
index 000000000..938da7be0
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.h
@@ -0,0 +1,93 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_CairoSurfaceGraphics__
+#define __gnu_java_awt_peer_gtk_CairoSurfaceGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/CairoGraphics2D.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class CairoSurface;
+ class CairoSurfaceGraphics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Shape;
+ namespace font
+ {
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ class RenderedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::CairoSurfaceGraphics : public ::gnu::java::awt::peer::gtk::CairoGraphics2D
+{
+
+public:
+ CairoSurfaceGraphics(::gnu::java::awt::peer::gtk::CairoSurface *);
+private:
+ CairoSurfaceGraphics(::gnu::java::awt::peer::gtk::CairoSurfaceGraphics *);
+public:
+ virtual ::java::awt::Graphics * create();
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * getRealBounds();
+public:
+ virtual void copyAreaImpl(jint, jint, jint, jint, jint, jint);
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+private:
+ jboolean drawComposite(::java::awt::geom::Rectangle2D *, ::java::awt::image::ImageObserver *);
+ void createBuffer();
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getNativeCM();
+ virtual ::java::awt::image::ColorModel * getBufferCM();
+ ::gnu::java::awt::peer::gtk::CairoSurface * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::CairoGraphics2D)))) surface;
+private:
+ ::java::awt::image::BufferedImage * buffer;
+ jlong cairo_t;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_CairoSurfaceGraphics__
diff --git a/libjava/gnu/java/awt/peer/gtk/ComponentGraphics.h b/libjava/gnu/java/awt/peer/gtk/ComponentGraphics.h
new file mode 100644
index 000000000..a9b70e73b
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/ComponentGraphics.h
@@ -0,0 +1,152 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_ComponentGraphics__
+#define __gnu_java_awt_peer_gtk_ComponentGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/CairoGraphics2D.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class CairoSurface;
+ class ComponentGraphics;
+ class GtkComponentPeer;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Graphics;
+ class Graphics2D;
+ class GraphicsConfiguration;
+ class Image;
+ class Shape;
+ namespace font
+ {
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ class RenderedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::ComponentGraphics : public ::gnu::java::awt::peer::gtk::CairoGraphics2D
+{
+
+public: // actually package-private
+ ComponentGraphics();
+private:
+ ComponentGraphics(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ ComponentGraphics(::gnu::java::awt::peer::gtk::ComponentGraphics *);
+ jlong initState(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ void lock();
+ void unlock();
+public: // actually protected
+ virtual jlong initFromVolatile(jlong);
+private:
+ void start_gdk_drawing();
+ void end_gdk_drawing();
+public:
+ static jboolean hasXRender();
+private:
+ static ::gnu::classpath::Pointer * nativeGrab(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ void copyAreaNative(::gnu::java::awt::peer::gtk::GtkComponentPeer *, jint, jint, jint, jint, jint, jint);
+ void drawVolatile(::gnu::java::awt::peer::gtk::GtkComponentPeer *, jlong, jint, jint, jint, jint, jint, jint, jint, jint);
+public:
+ static ::gnu::java::awt::peer::gtk::GtkImage * grab(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ static ::java::awt::Graphics2D * getComponentGraphics(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+ virtual ::java::awt::Graphics * create();
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * getRealBounds();
+public:
+ virtual void copyAreaImpl(jint, jint, jint, jint, jint, jint);
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+private:
+ jboolean drawComposite(::java::awt::geom::Rectangle2D *, ::java::awt::image::ImageObserver *);
+ void createBuffer();
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getNativeCM();
+ virtual jlong init(jlong);
+ virtual void drawPixels(jlong, JArray< jint > *, jint, jint, jint, JArray< jdouble > *, jdouble, jint);
+ virtual void setGradient(jlong, jdouble, jdouble, jdouble, jdouble, jint, jint, jint, jint, jint, jint, jint, jint, jboolean);
+ virtual void setPaintPixels(jlong, JArray< jint > *, jint, jint, jint, jboolean, jint, jint);
+ virtual void cairoSetMatrix(jlong, JArray< jdouble > *);
+ virtual void cairoScale(jlong, jdouble, jdouble);
+ virtual void cairoSetOperator(jlong, jint);
+ virtual void cairoSetRGBAColor(jlong, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoSetFillRule(jlong, jint);
+ virtual void cairoSetLine(jlong, jdouble, jint, jint, jdouble);
+ virtual void cairoSetDash(jlong, JArray< jdouble > *, jint, jdouble);
+ virtual void cairoRectangle(jlong, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoArc(jlong, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoSave(jlong);
+ virtual void cairoRestore(jlong);
+ virtual void cairoNewPath(jlong);
+ virtual void cairoClosePath(jlong);
+ virtual void cairoMoveTo(jlong, jdouble, jdouble);
+ virtual void cairoLineTo(jlong, jdouble, jdouble);
+ virtual void cairoCurveTo(jlong, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoStroke(jlong);
+ virtual void cairoFill(jlong, jdouble);
+ virtual void cairoClip(jlong);
+ virtual void cairoResetClip(jlong);
+ virtual void cairoSetAntialias(jlong, jboolean);
+ virtual void drawCairoSurface(::gnu::java::awt::peer::gtk::CairoSurface *, ::java::awt::geom::AffineTransform *, jdouble, jint);
+private:
+ static jboolean hasXRenderExtension;
+ ::gnu::java::awt::peer::gtk::GtkComponentPeer * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::CairoGraphics2D)))) component;
+public: // actually protected
+ jlong cairo_t;
+private:
+ ::java::awt::image::BufferedImage * buffer;
+ ::java::awt::image::BufferedImage * componentBuffer;
+ static ::java::lang::ThreadLocal * hasLock;
+ static ::java::lang::Integer * ONE;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_ComponentGraphics__
diff --git a/libjava/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.h b/libjava/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.h
new file mode 100644
index 000000000..7ba10f86f
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_ComponentGraphicsCopy__
+#define __gnu_java_awt_peer_gtk_ComponentGraphicsCopy__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/CairoSurfaceGraphics.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class ComponentGraphicsCopy;
+ class GtkComponentPeer;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Image;
+ class Shape;
+ namespace font
+ {
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class ImageObserver;
+ class RenderedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::ComponentGraphicsCopy : public ::gnu::java::awt::peer::gtk::CairoSurfaceGraphics
+{
+
+public: // actually package-private
+ virtual void getPixbuf(::gnu::java::awt::peer::gtk::GtkComponentPeer *, ::gnu::java::awt::peer::gtk::GtkImage *);
+ virtual void copyPixbuf(::gnu::java::awt::peer::gtk::GtkComponentPeer *, ::gnu::java::awt::peer::gtk::GtkImage *, jint, jint, jint, jint);
+public:
+ ComponentGraphicsCopy(jint, jint, ::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+private:
+ ::gnu::java::awt::peer::gtk::GtkComponentPeer * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::CairoSurfaceGraphics)))) component;
+ ::gnu::java::awt::peer::gtk::GtkImage * gtkimage;
+ jint width;
+ jint height;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_ComponentGraphicsCopy__
diff --git a/libjava/gnu/java/awt/peer/gtk/FreetypeGlyphVector.h b/libjava/gnu/java/awt/peer/gtk/FreetypeGlyphVector.h
new file mode 100644
index 000000000..3f7a62944
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/FreetypeGlyphVector.h
@@ -0,0 +1,122 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_FreetypeGlyphVector__
+#define __gnu_java_awt_peer_gtk_FreetypeGlyphVector__
+
+#pragma interface
+
+#include <java/awt/font/GlyphVector.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class FreetypeGlyphVector;
+ class GdkFontPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Shape;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphJustificationInfo;
+ class GlyphMetrics;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class GeneralPath;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::FreetypeGlyphVector : public ::java::awt::font::GlyphVector
+{
+
+ void dispose(JArray< jlong > *);
+ jlong getNativeFontPointer(jint);
+public:
+ FreetypeGlyphVector(::java::awt::Font *, ::java::lang::String *, ::java::awt::font::FontRenderContext *);
+ FreetypeGlyphVector(::java::awt::Font *, JArray< jchar > *, jint, jint, ::java::awt::font::FontRenderContext *, jint);
+ FreetypeGlyphVector(::java::awt::Font *, JArray< jint > *, ::java::awt::font::FontRenderContext *);
+private:
+ FreetypeGlyphVector(::gnu::java::awt::peer::gtk::FreetypeGlyphVector *);
+public:
+ virtual void finalize();
+private:
+ void getGlyphs();
+public:
+ virtual void getGlyphs(JArray< jint > *, JArray< jint > *, JArray< jlong > *);
+private:
+ void getKerning(jint, jint, jlong, JArray< jfloat > *);
+ JArray< jdouble > * getMetricsNative(jint, jlong);
+ ::java::awt::geom::GeneralPath * getGlyphOutlineNative(jint, jlong);
+public:
+ virtual ::java::lang::Object * clone();
+ virtual jboolean equals(::java::awt::font::GlyphVector *);
+ virtual ::java::awt::Font * getFont();
+ virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
+ virtual void performDefaultLayout();
+ virtual jint getGlyphCode(jint);
+ virtual JArray< jint > * getGlyphCodes(jint, jint, JArray< jint > *);
+public: // actually protected
+ virtual JArray< jlong > * getGlyphFonts(jint, jint, JArray< jlong > *);
+public:
+ virtual ::java::awt::Shape * getGlyphLogicalBounds(jint);
+ virtual void setupGlyphMetrics();
+ virtual ::java::awt::font::GlyphMetrics * getGlyphMetrics(jint);
+ virtual ::java::awt::Shape * getGlyphOutline(jint);
+ virtual ::java::awt::geom::Point2D * getGlyphPosition(jint);
+ virtual JArray< jfloat > * getGlyphPositions(jint, jint, JArray< jfloat > *);
+ virtual ::java::awt::geom::AffineTransform * getGlyphTransform(jint);
+public: // actually protected
+ virtual jboolean hasTransforms();
+public:
+ virtual ::java::awt::Shape * getGlyphVisualBounds(jint);
+ virtual ::java::awt::geom::Rectangle2D * getLogicalBounds();
+ virtual jint getNumGlyphs();
+ virtual ::java::awt::Shape * getOutline();
+ virtual ::java::awt::font::GlyphJustificationInfo * getGlyphJustificationInfo(jint);
+ virtual ::java::awt::Shape * getOutline(jfloat, jfloat);
+ virtual ::java::awt::geom::Rectangle2D * getVisualBounds();
+ virtual void setGlyphPosition(jint, ::java::awt::geom::Point2D *);
+ virtual void setGlyphTransform(jint, ::java::awt::geom::AffineTransform *);
+private:
+ ::java::awt::Font * __attribute__((aligned(__alignof__( ::java::awt::font::GlyphVector)))) font;
+ ::gnu::java::awt::peer::gtk::GdkFontPeer * peer;
+ ::java::awt::geom::Rectangle2D * logicalBounds;
+ JArray< jfloat > * glyphPositions;
+ ::java::lang::String * s;
+ ::java::awt::font::FontRenderContext * frc;
+ jint nGlyphs;
+ JArray< jint > * glyphCodes;
+ JArray< jlong > * fontSet;
+ JArray< ::java::awt::geom::AffineTransform * > * glyphTransforms;
+ JArray< ::java::awt::font::GlyphMetrics * > * metricsCache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_FreetypeGlyphVector__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontLineMetrics.h b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontLineMetrics.h
new file mode 100644
index 000000000..508a37d8d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontLineMetrics.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontLineMetrics__
+#define __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontLineMetrics__
+
+#pragma interface
+
+#include <java/awt/font/LineMetrics.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkFontPeer;
+ class GdkFontPeer$GdkFontLineMetrics;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkFontPeer$GdkFontLineMetrics : public ::java::awt::font::LineMetrics
+{
+
+public:
+ GdkFontPeer$GdkFontLineMetrics(::gnu::java::awt::peer::gtk::GdkFontPeer *, ::gnu::java::awt::peer::gtk::GdkFontPeer *, jint);
+ virtual jfloat getAscent();
+ virtual jint getBaselineIndex();
+ virtual JArray< jfloat > * getBaselineOffsets();
+ virtual jfloat getDescent();
+ virtual jfloat getHeight();
+ virtual jfloat getLeading();
+ virtual jint getNumChars();
+ virtual jfloat getStrikethroughOffset();
+ virtual jfloat getStrikethroughThickness();
+ virtual jfloat getUnderlineOffset();
+ virtual jfloat getUnderlineThickness();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::awt::font::LineMetrics)))) nchars;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GdkFontPeer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontLineMetrics__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontMetrics.h b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontMetrics.h
new file mode 100644
index 000000000..0c9961ba3
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontMetrics.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontMetrics__
+#define __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontMetrics__
+
+#pragma interface
+
+#include <java/awt/FontMetrics.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkFontPeer;
+ class GdkFontPeer$GdkFontMetrics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkFontPeer$GdkFontMetrics : public ::java::awt::FontMetrics
+{
+
+public:
+ GdkFontPeer$GdkFontMetrics(::gnu::java::awt::peer::gtk::GdkFontPeer *, ::java::awt::Font *);
+ virtual jint stringWidth(::java::lang::String *);
+ virtual jint charWidth(jchar);
+ virtual jint charsWidth(JArray< jchar > *, jint, jint);
+ virtual jint getHeight();
+ virtual jint getLeading();
+ virtual jint getAscent();
+ virtual jint getMaxAscent();
+ virtual jint getDescent();
+ virtual jint getMaxDescent();
+ virtual jint getMaxAdvance();
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GdkFontPeer * __attribute__((aligned(__alignof__( ::java::awt::FontMetrics)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontMetrics__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkFontPeer.h b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer.h
new file mode 100644
index 000000000..ebfdd2c96
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer.h
@@ -0,0 +1,147 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkFontPeer__
+#define __gnu_java_awt_peer_gtk_GdkFontPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/ClasspathFontPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkFontPeer;
+ class GdkFontPeer$GdkFontMetrics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class FontMetrics;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphMetrics;
+ class GlyphVector;
+ class LineMetrics;
+ }
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace text
+ {
+ class CharacterIterator;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkFontPeer : public ::gnu::java::awt::peer::ClasspathFontPeer
+{
+
+public: // actually package-private
+ static void initStaticState();
+private:
+ void initState();
+ void dispose();
+ void setFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void getFontMetrics(JArray< jdouble > *);
+ virtual void getTextMetrics(::java::lang::String *, JArray< jdouble > *);
+ virtual void releasePeerGraphicsResource();
+public: // actually protected
+ virtual void finalize();
+private:
+ ::java::lang::String * buildString(::java::text::CharacterIterator *);
+ ::java::lang::String * buildString(::java::text::CharacterIterator *, jint, jint);
+ ::java::lang::String * buildString(JArray< jchar > *, jint, jint);
+public:
+ GdkFontPeer(::java::lang::String *, jint);
+ GdkFontPeer(::java::lang::String *, jint, jint);
+ GdkFontPeer(::java::lang::String *, ::java::util::Map *);
+public: // actually package-private
+ static ::java::awt::Font * initFont(::java::awt::Font *);
+private:
+ void setupMetrics();
+public:
+ virtual ::java::lang::String * getSubFamilyName(::java::awt::Font *, ::java::util::Locale *);
+private:
+ JArray< jbyte > * getTrueTypeTable(jbyte, jbyte, jbyte, jbyte);
+public:
+ virtual ::java::lang::String * getPostScriptName(::java::awt::Font *);
+private:
+ ::java::lang::String * getName(jint, ::java::util::Locale *);
+public:
+ virtual jboolean canDisplay(::java::awt::Font *, jint);
+ virtual jint canDisplayUpTo(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint);
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *);
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jint > *);
+ virtual jbyte getBaselineFor(::java::awt::Font *, jchar);
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::Font *, ::java::awt::font::FontRenderContext *);
+ virtual jint getMissingGlyphCode(::java::awt::Font *);
+ virtual ::java::lang::String * getGlyphName(::java::awt::Font *, jint);
+ virtual jint getNumGlyphs(::java::awt::Font *);
+ virtual jboolean hasUniformLineMetrics(::java::awt::Font *);
+ virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint);
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::awt::Font *, ::java::lang::String *, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+public: // actually package-private
+ virtual ::java::awt::font::GlyphMetrics * getGlyphMetrics(jint);
+ virtual void putGlyphMetrics(jint, ::java::awt::font::GlyphMetrics *);
+ static ::java::awt::font::FontRenderContext * DEFAULT_CTX;
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::ClasspathFontPeer)))) textLayoutCache;
+private:
+ jint native_state;
+ ::java::util::HashMap * metricsCache;
+ static const jint FONT_METRICS_ASCENT = 0;
+ static const jint FONT_METRICS_MAX_ASCENT = 1;
+ static const jint FONT_METRICS_DESCENT = 2;
+ static const jint FONT_METRICS_MAX_DESCENT = 3;
+ static const jint FONT_METRICS_MAX_ADVANCE = 4;
+ static const jint FONT_METRICS_HEIGHT = 5;
+ static const jint FONT_METRICS_UNDERLINE_OFFSET = 6;
+ static const jint FONT_METRICS_UNDERLINE_THICKNESS = 7;
+public: // actually package-private
+ jfloat ascent;
+ jfloat descent;
+ jfloat maxAscent;
+ jfloat maxDescent;
+ jfloat maxAdvance;
+ jfloat height;
+ jfloat underlineOffset;
+ jfloat underlineThickness;
+ ::gnu::java::awt::peer::gtk::GdkFontPeer$GdkFontMetrics * metrics;
+private:
+ ::java::nio::ByteBuffer * nameTable;
+ ::gnu::classpath::Pointer * nativeFont;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkFontPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.h b/libjava/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.h
new file mode 100644
index 000000000..d36580f0f
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkGraphicsConfiguration__
+#define __gnu_java_awt_peer_gtk_GdkGraphicsConfiguration__
+
+#pragma interface
+
+#include <java/awt/GraphicsConfiguration.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkGraphicsConfiguration;
+ class GdkScreenGraphicsDevice;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class BufferCapabilities;
+ class GraphicsDevice;
+ class ImageCapabilities;
+ class Rectangle;
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class VolatileImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkGraphicsConfiguration : public ::java::awt::GraphicsConfiguration
+{
+
+public:
+ GdkGraphicsConfiguration(::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice *);
+ virtual ::java::awt::GraphicsDevice * getDevice();
+ virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint);
+ virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint, jint);
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint);
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, ::java::awt::ImageCapabilities *);
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::image::ColorModel * getColorModel(jint);
+ virtual ::java::awt::geom::AffineTransform * getDefaultTransform();
+ virtual ::java::awt::geom::AffineTransform * getNormalizingTransform();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::BufferCapabilities * getBufferCapabilities();
+ virtual ::java::awt::ImageCapabilities * getImageCapabilities();
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, jint);
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * __attribute__((aligned(__alignof__( ::java::awt::GraphicsConfiguration)))) gdkScreenGraphicsDevice;
+ ::java::awt::image::ColorModel * opaqueColorModel;
+ ::java::awt::image::ColorModel * bitmaskColorModel;
+ ::java::awt::image::ColorModel * translucentColorModel;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkGraphicsConfiguration__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h b/libjava/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h
new file mode 100644
index 000000000..978c2ec50
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h
@@ -0,0 +1,93 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkGraphicsEnvironment__
+#define __gnu_java_awt_peer_gtk_GdkGraphicsEnvironment__
+
+#pragma interface
+
+#include <gnu/java/awt/ClasspathGraphicsEnvironment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkGraphicsEnvironment;
+ class GdkScreenGraphicsDevice;
+ class GtkWindowPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Graphics2D;
+ class GraphicsDevice;
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class SampleModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkGraphicsEnvironment : public ::gnu::java::awt::ClasspathGraphicsEnvironment
+{
+
+ static void initIDs();
+public:
+ GdkGraphicsEnvironment();
+public: // actually package-private
+ virtual void nativeInitState();
+public:
+ virtual JArray< ::java::awt::GraphicsDevice * > * getScreenDevices();
+private:
+ JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * > * nativeGetScreenDevices();
+public:
+ virtual ::java::awt::GraphicsDevice * getDefaultScreenDevice();
+private:
+ ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * nativeGetDefaultScreenDevice();
+public:
+ virtual ::java::awt::Graphics2D * createGraphics(::java::awt::image::BufferedImage *);
+private:
+ jint nativeGetNumFontFamilies();
+ void nativeGetFontFamilies(JArray< ::java::lang::String * > *);
+public:
+ virtual JArray< ::java::awt::Font * > * getAllFonts();
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames();
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *);
+public: // actually package-private
+ virtual JArray< jint > * getMouseCoordinates();
+ virtual jboolean isWindowUnderMouse(::gnu::java::awt::peer::gtk::GtkWindowPeer *);
+public:
+ virtual ::java::awt::image::WritableRaster * createRaster(::java::awt::image::ColorModel *, ::java::awt::image::SampleModel *);
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::ClasspathGraphicsEnvironment)))) native_state;
+ ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * defaultDevice;
+ JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * > * devices;
+ ::gnu::classpath::Pointer * display;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkGraphicsEnvironment__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReader.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReader.h
new file mode 100644
index 000000000..197639f33
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReader.h
@@ -0,0 +1,89 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReader__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReader__
+
+#pragma interface
+
+#include <javax/imageio/ImageReader.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder;
+ class GdkPixbufDecoder$GdkPixbufReader;
+ class GdkPixbufDecoder$GdkPixbufReaderSpi;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageReadParam;
+ namespace metadata
+ {
+ class IIOMetadata;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReader : public ::javax::imageio::ImageReader
+{
+
+public:
+ GdkPixbufDecoder$GdkPixbufReader(::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi *, ::java::lang::Object *);
+ GdkPixbufDecoder$GdkPixbufReader(::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi *, ::java::lang::Object *, ::gnu::java::awt::peer::gtk::GdkPixbufDecoder *);
+ virtual void setDimensions(jint, jint);
+ virtual void setProperties(::java::util::Hashtable *);
+ virtual void setColorModel(::java::awt::image::ColorModel *);
+ virtual void setHints(jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+ virtual void imageComplete(jint);
+ virtual ::java::awt::image::BufferedImage * getBufferedImage();
+ virtual jint getNumImages(jboolean);
+ virtual ::javax::imageio::metadata::IIOMetadata * getImageMetadata(jint);
+ virtual ::javax::imageio::metadata::IIOMetadata * getStreamMetadata();
+ virtual ::java::util::Iterator * getImageTypes(jint);
+ virtual jint getHeight(jint);
+ virtual jint getWidth(jint);
+ virtual void setInput(::java::lang::Object *, jboolean, jboolean);
+ virtual ::java::awt::image::BufferedImage * read(jint, ::javax::imageio::ImageReadParam *);
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GdkPixbufDecoder * __attribute__((aligned(__alignof__( ::javax::imageio::ImageReader)))) dec;
+ ::java::awt::image::BufferedImage * bufferedImage;
+ ::java::awt::image::ColorModel * defaultModel;
+ jint width;
+ jint height;
+ ::java::lang::String * ext;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReader__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReaderSpi.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReaderSpi.h
new file mode 100644
index 000000000..118167103
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReaderSpi.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReaderSpi__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReaderSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/ImageReaderSpi.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder$GdkPixbufReaderSpi;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageReader;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi : public ::javax::imageio::spi::ImageReaderSpi
+{
+
+public:
+ GdkPixbufDecoder$GdkPixbufReaderSpi();
+ virtual jboolean canDecodeInput(::java::lang::Object *);
+ virtual ::javax::imageio::ImageReader * createReaderInstance(::java::lang::Object *);
+ virtual ::java::lang::String * getDescription(::java::util::Locale *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReaderSpi__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriter.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriter.h
new file mode 100644
index 000000000..d88b2ae8a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriter.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriter__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriter__
+
+#pragma interface
+
+#include <javax/imageio/ImageWriter.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder$GdkPixbufWriter;
+ class GdkPixbufDecoder$GdkPixbufWriterSpi;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class IIOImage;
+ class ImageTypeSpecifier;
+ class ImageWriteParam;
+ namespace metadata
+ {
+ class IIOMetadata;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriter : public ::javax::imageio::ImageWriter
+{
+
+public:
+ GdkPixbufDecoder$GdkPixbufWriter(::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriterSpi *, ::java::lang::Object *);
+ virtual ::javax::imageio::metadata::IIOMetadata * convertImageMetadata(::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::ImageTypeSpecifier *, ::javax::imageio::ImageWriteParam *);
+ virtual ::javax::imageio::metadata::IIOMetadata * convertStreamMetadata(::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::ImageWriteParam *);
+ virtual ::javax::imageio::metadata::IIOMetadata * getDefaultImageMetadata(::javax::imageio::ImageTypeSpecifier *, ::javax::imageio::ImageWriteParam *);
+ virtual ::javax::imageio::metadata::IIOMetadata * getDefaultStreamMetadata(::javax::imageio::ImageWriteParam *);
+ virtual void write(::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::IIOImage *, ::javax::imageio::ImageWriteParam *);
+private:
+ void write(JArray< jbyte > *);
+public:
+ virtual void run();
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::imageio::ImageWriter)))) ext;
+private:
+ static ::java::lang::Object * DATADONE;
+ ::java::util::ArrayList * data;
+ ::java::io::IOException * exception;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriter__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriterSpi.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriterSpi.h
new file mode 100644
index 000000000..d8ac5af3b
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriterSpi.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriterSpi__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriterSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/ImageWriterSpi.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder$GdkPixbufWriterSpi;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageTypeSpecifier;
+ class ImageWriter;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriterSpi : public ::javax::imageio::spi::ImageWriterSpi
+{
+
+public:
+ GdkPixbufDecoder$GdkPixbufWriterSpi();
+ virtual jboolean canEncodeImage(::javax::imageio::ImageTypeSpecifier *);
+ virtual ::javax::imageio::ImageWriter * createWriterInstance(::java::lang::Object *);
+ virtual ::java::lang::String * getDescription(::java::util::Locale *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriterSpi__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$ImageFormatSpec.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$ImageFormatSpec.h
new file mode 100644
index 000000000..03316f539
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$ImageFormatSpec.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder$ImageFormatSpec__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder$ImageFormatSpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder$ImageFormatSpec;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder$ImageFormatSpec : public ::java::lang::Object
+{
+
+public:
+ GdkPixbufDecoder$ImageFormatSpec(::java::lang::String *, jboolean);
+ virtual void addMimeType(::java::lang::String *);
+ virtual void addExtension(::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ jboolean writable;
+ ::java::util::ArrayList * mimeTypes;
+ ::java::util::ArrayList * extensions;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder$ImageFormatSpec__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder.h
new file mode 100644
index 000000000..1c5fa7939
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder.h
@@ -0,0 +1,115 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder__
+
+#pragma interface
+
+#include <gnu/java/awt/image/ImageDecoder.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder;
+ class GdkPixbufDecoder$GdkPixbufReaderSpi;
+ class GdkPixbufDecoder$GdkPixbufWriter;
+ class GdkPixbufDecoder$GdkPixbufWriterSpi;
+ class GdkPixbufDecoder$ImageFormatSpec;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class IIORegistry;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder : public ::gnu::java::awt::image::ImageDecoder
+{
+
+public: // actually package-private
+ static void initStaticState();
+ virtual void initState();
+ virtual void pumpBytes(JArray< jbyte > *, jint);
+ virtual void pumpDone();
+ virtual void finish(jboolean);
+ static void streamImage(JArray< jint > *, ::java::lang::String *, jint, jint, jboolean, ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriter *);
+public:
+ GdkPixbufDecoder(::java::io::DataInput *);
+ GdkPixbufDecoder(::java::io::InputStream *);
+ GdkPixbufDecoder(::java::lang::String *);
+ GdkPixbufDecoder(::java::net::URL *);
+ GdkPixbufDecoder(JArray< jbyte > *, jint, jint);
+public: // actually package-private
+ virtual void areaPrepared(jint, jint);
+ virtual void areaUpdated(jint, jint, jint, jint, JArray< jint > *, jint);
+public:
+ virtual void produce(::java::util::Vector *, ::java::io::InputStream *);
+ virtual void finalize();
+ static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$ImageFormatSpec * registerFormat(::java::lang::String *, jboolean);
+public: // actually package-private
+ static JArray< ::java::lang::String * > * getFormatNames(jboolean);
+ static JArray< ::java::lang::String * > * getFormatExtensions(jboolean);
+ static JArray< ::java::lang::String * > * getFormatMimeTypes(jboolean);
+ static ::java::lang::String * findFormatName(::java::lang::Object *, jboolean);
+public:
+ static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi * getReaderSpi();
+ static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriterSpi * getWriterSpi();
+ static void registerSpis(::javax::imageio::spi::IIORegistry *);
+public: // actually package-private
+ static ::java::lang::Object * pixbufLock;
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::image::ImageDecoder)))) native_state;
+ jboolean needsClose;
+public: // actually package-private
+ ::java::util::Vector * curr;
+private:
+ ::gnu::classpath::Pointer * nativeDecoder;
+public: // actually package-private
+ static ::java::awt::image::ColorModel * cm;
+ static ::java::util::ArrayList * imageFormatSpecs;
+private:
+ static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi * readerSpi;
+ static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriterSpi * writerSpi;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkRobotPeer.h b/libjava/gnu/java/awt/peer/gtk/GdkRobotPeer.h
new file mode 100644
index 000000000..24c6a853c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkRobotPeer.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkRobotPeer__
+#define __gnu_java_awt_peer_gtk_GdkRobotPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkRobotPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class GraphicsDevice;
+ class Rectangle;
+ namespace image
+ {
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkRobotPeer : public ::java::lang::Object
+{
+
+public:
+ GdkRobotPeer(::java::awt::GraphicsDevice *);
+public: // actually package-private
+ virtual jboolean initXTest();
+public:
+ virtual void mouseMove(jint, jint);
+ virtual void mousePress(jint);
+ virtual void mouseRelease(jint);
+ virtual void mouseWheel(jint);
+ virtual void keyPress(jint);
+ virtual void keyRelease(jint);
+public: // actually package-private
+ virtual JArray< jint > * nativeGetRGBPixels(jint, jint, jint, jint);
+public:
+ virtual jint getRGBPixel(jint, jint);
+ virtual JArray< jint > * getRGBPixels(::java::awt::Rectangle *);
+ virtual void dispose();
+public: // actually package-private
+ static ::java::awt::image::ColorModel * cm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkRobotPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice$X11DisplayMode.h b/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice$X11DisplayMode.h
new file mode 100644
index 000000000..5c27e4c25
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice$X11DisplayMode.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice$X11DisplayMode__
+#define __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice$X11DisplayMode__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkScreenGraphicsDevice$X11DisplayMode;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice$X11DisplayMode : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GdkScreenGraphicsDevice$X11DisplayMode(jint, jint, JArray< jshort > *);
+ JArray< jshort > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) rates;
+ jint width;
+ jint height;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice$X11DisplayMode__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.h b/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.h
new file mode 100644
index 000000000..ff0362b99
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.h
@@ -0,0 +1,103 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice__
+#define __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice__
+
+#pragma interface
+
+#include <java/awt/GraphicsDevice.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkGraphicsConfiguration;
+ class GdkGraphicsEnvironment;
+ class GdkScreenGraphicsDevice;
+ class GdkScreenGraphicsDevice$X11DisplayMode;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class DisplayMode;
+ class GraphicsConfiguration;
+ class Rectangle;
+ class Window;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice : public ::java::awt::GraphicsDevice
+{
+
+public: // actually package-private
+ static void initIDs();
+ GdkScreenGraphicsDevice(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
+ virtual void init();
+ virtual ::java::awt::DisplayMode * nativeGetFixedDisplayMode(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
+public:
+ virtual jint getType();
+ virtual ::java::lang::String * getIDstring();
+private:
+ ::java::lang::String * nativeGetIDString();
+public:
+ virtual JArray< ::java::awt::GraphicsConfiguration * > * getConfigurations();
+ virtual ::java::awt::GraphicsConfiguration * getDefaultConfiguration();
+ virtual ::java::awt::DisplayMode * getDisplayMode();
+public: // actually package-private
+ virtual jint nativeGetDisplayModeIndex(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
+ virtual jint nativeGetDisplayModeRate(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
+public:
+ virtual JArray< ::java::awt::DisplayMode * > * getDisplayModes();
+public: // actually package-private
+ virtual JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice$X11DisplayMode * > * nativeGetDisplayModes(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
+public:
+ virtual jboolean isFullScreenSupported();
+ virtual jboolean isDisplayChangeSupported();
+ virtual void setDisplayMode(::java::awt::DisplayMode *);
+public: // actually package-private
+ virtual void nativeSetDisplayMode(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *, jint, jshort);
+public:
+ virtual void setFullScreenWindow(::java::awt::Window *);
+ virtual ::java::awt::Window * getFullScreenWindow();
+public: // actually package-private
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::Rectangle * nativeGetBounds();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::awt::GraphicsDevice)))) native_state;
+ ::java::awt::Window * fullscreenWindow;
+ jboolean oldWindowDecorationState;
+ ::java::awt::Rectangle * oldWindowBounds;
+ ::java::awt::Rectangle * bounds;
+ JArray< ::gnu::java::awt::peer::gtk::GdkGraphicsConfiguration * > * configurations;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment * env;
+ ::java::lang::String * idString;
+ JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice$X11DisplayMode * > * displayModes;
+ ::java::awt::DisplayMode * fixedDisplayMode;
+private:
+ ::gnu::classpath::Pointer * screen;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkButtonPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkButtonPeer.h
new file mode 100644
index 000000000..6abd26741
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkButtonPeer.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkButtonPeer__
+#define __gnu_java_awt_peer_gtk_GtkButtonPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkButtonPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkButtonPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create(::java::lang::String *);
+public:
+ virtual void connectSignals();
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void gtkSetLabel(::java::lang::String *);
+ virtual void gtkWidgetSetForeground(jint, jint, jint);
+ virtual void gtkWidgetSetBackground(jint, jint, jint);
+ virtual void gtkActivate();
+ virtual void gtkWidgetRequestFocus();
+ virtual void setNativeBounds(jint, jint, jint, jint);
+ virtual void gtkWidgetGetPreferredDimensions(JArray< jint > *);
+public:
+ GtkButtonPeer(::java::awt::Button *);
+public: // actually package-private
+ virtual void create();
+public:
+ virtual void setLabel(::java::lang::String *);
+public: // actually package-private
+ virtual void postActionEvent(jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkButtonPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkCanvasPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkCanvasPeer.h
new file mode 100644
index 000000000..3808c2fae
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkCanvasPeer.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkCanvasPeer__
+#define __gnu_java_awt_peer_gtk_GtkCanvasPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkCanvasPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Canvas;
+ class Dimension;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkCanvasPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create();
+public:
+ GtkCanvasPeer(::java::awt::Canvas *);
+ virtual ::java::awt::Dimension * preferredSize();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkCanvasPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.h
new file mode 100644
index 000000000..2a2f4559c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer__
+#define __gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkMenuItemPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkCheckboxMenuItemPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class CheckboxMenuItem;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkCheckboxMenuItemPeer : public ::gnu::java::awt::peer::gtk::GtkMenuItemPeer
+{
+
+public: // actually protected
+ virtual void create(::java::lang::String *);
+public:
+ GtkCheckboxMenuItemPeer(::java::awt::CheckboxMenuItem *);
+ virtual void setState(jboolean);
+public: // actually protected
+ virtual void postMenuActionEvent();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkCheckboxPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkCheckboxPeer.h
new file mode 100644
index 000000000..e97d21f9d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkCheckboxPeer.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkCheckboxPeer__
+#define __gnu_java_awt_peer_gtk_GtkCheckboxPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkCheckboxPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Checkbox;
+ class CheckboxGroup;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkCheckboxPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public:
+ virtual void createCheckButton();
+ virtual void createRadioButton(jlong);
+ virtual void addToGroup(jlong);
+ virtual void removeFromGroup();
+ virtual void switchToGroup(jlong);
+ virtual void connectSignals();
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void gtkButtonSetLabel(::java::lang::String *);
+ virtual void gtkToggleButtonSetActive(jboolean);
+public:
+ GtkCheckboxPeer(::java::awt::Checkbox *);
+ virtual void create();
+ virtual void setState(jboolean);
+ virtual void setLabel(::java::lang::String *);
+ virtual void setCheckboxGroup(::java::awt::CheckboxGroup *);
+ virtual void postItemEvent(::java::lang::Object *, jboolean);
+ virtual void addToGroupMap(jlong);
+ virtual void dispose();
+ ::java::awt::CheckboxGroup * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkComponentPeer)))) current_group;
+private:
+ jboolean currentState;
+ static ::java::util::WeakHashMap * groupMap;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkCheckboxPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkChoicePeer.h b/libjava/gnu/java/awt/peer/gtk/GtkChoicePeer.h
new file mode 100644
index 000000000..632fb4063
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkChoicePeer.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkChoicePeer__
+#define __gnu_java_awt_peer_gtk_GtkChoicePeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkChoicePeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Choice;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkChoicePeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public:
+ GtkChoicePeer(::java::awt::Choice *);
+public: // actually package-private
+ virtual void create();
+ virtual jint nativeGetSelected();
+ virtual void connectSignals();
+ virtual void selectNative(jint);
+ virtual void selectNativeUnlocked(jint);
+public:
+ virtual void add(::java::lang::String *, jint);
+public: // actually package-private
+ virtual void nativeRemove(jint);
+ virtual void nativeRemoveAll();
+public:
+ virtual void select(jint);
+ virtual void remove(jint);
+ virtual void removeAll();
+ virtual void addItem(::java::lang::String *, jint);
+public: // actually protected
+ virtual void postChoiceItemEvent(jint);
+public:
+ virtual void handleEvent(::java::awt::AWTEvent *);
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkComponentPeer)))) selected;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkChoicePeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkClipboard.h b/libjava/gnu/java/awt/peer/gtk/GtkClipboard.h
new file mode 100644
index 000000000..24b275a78
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkClipboard.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkClipboard__
+#define __gnu_java_awt_peer_gtk_GtkClipboard__
+
+#pragma interface
+
+#include <java/awt/datatransfer/Clipboard.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkClipboard;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class ClipboardOwner;
+ class Transferable;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkClipboard : public ::java::awt::datatransfer::Clipboard
+{
+
+ GtkClipboard(::java::lang::String *);
+public: // actually package-private
+ static ::gnu::java::awt::peer::gtk::GtkClipboard * getClipboardInstance();
+ static ::gnu::java::awt::peer::gtk::GtkClipboard * getSelectionInstance();
+private:
+ void setSystemContents(jboolean);
+public:
+ virtual void setContents(::java::awt::datatransfer::Transferable *, ::java::awt::datatransfer::ClipboardOwner *);
+private:
+ void advertiseContent(JArray< ::java::lang::String * > *, jboolean, jboolean, jboolean);
+ ::java::lang::String * provideText();
+ ::gnu::java::awt::peer::gtk::GtkImage * provideImage();
+ JArray< ::java::lang::String * > * provideURIs();
+ JArray< jbyte > * provideContent(::java::lang::String *);
+ static jboolean initNativeState(::gnu::java::awt::peer::gtk::GtkClipboard *, ::gnu::java::awt::peer::gtk::GtkClipboard *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+public: // actually package-private
+ static ::gnu::java::awt::peer::gtk::GtkClipboard * clipboard;
+ static ::gnu::java::awt::peer::gtk::GtkClipboard * selection;
+ static ::java::lang::String * stringMimeType;
+ static ::java::lang::String * imageMimeType;
+ static ::java::lang::String * filesMimeType;
+ static jboolean canCache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkClipboard__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkClipboardNotifier.h b/libjava/gnu/java/awt/peer/gtk/GtkClipboardNotifier.h
new file mode 100644
index 000000000..59d04d0f8
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkClipboardNotifier.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkClipboardNotifier__
+#define __gnu_java_awt_peer_gtk_GtkClipboardNotifier__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkClipboard;
+ class GtkClipboardNotifier;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkClipboardNotifier : public ::java::lang::Thread
+{
+
+ GtkClipboardNotifier();
+public: // actually package-private
+ static void announce(::gnu::java::awt::peer::gtk::GtkClipboard *);
+public:
+ virtual void run();
+private:
+ static jboolean announceClipboardChange;
+ static jboolean announcePrimaryChange;
+ static ::gnu::java::awt::peer::gtk::GtkClipboardNotifier * notifier;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkClipboardNotifier__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer$RepaintTimerTask.h b/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer$RepaintTimerTask.h
new file mode 100644
index 000000000..c556b5250
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer$RepaintTimerTask.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkComponentPeer$RepaintTimerTask__
+#define __gnu_java_awt_peer_gtk_GtkComponentPeer$RepaintTimerTask__
+
+#pragma interface
+
+#include <java/util/TimerTask.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkComponentPeer$RepaintTimerTask;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkComponentPeer$RepaintTimerTask : public ::java::util::TimerTask
+{
+
+public: // actually package-private
+ GtkComponentPeer$RepaintTimerTask(::java::awt::Component *, jint, jint, jint, jint);
+public:
+ virtual void run();
+public: // actually package-private
+ static void schedule(jlong, jint, jint, jint, jint, ::java::awt::Component *);
+private:
+ static ::java::util::Timer * repaintTimer;
+ jint __attribute__((aligned(__alignof__( ::java::util::TimerTask)))) x;
+ jint y;
+ jint width;
+ jint height;
+ ::java::awt::Component * awtComponent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkComponentPeer$RepaintTimerTask__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.h
new file mode 100644
index 000000000..78c7127c8
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.h
@@ -0,0 +1,208 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkComponentPeer__
+#define __gnu_java_awt_peer_gtk_GtkComponentPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkGenericPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkComponentPeer;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ class Window;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ComponentPeer;
+ class ContainerPeer;
+ }
+ }
+ }
+ namespace sun
+ {
+ namespace awt
+ {
+ class CausedFocusEvent$Cause;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkComponentPeer : public ::gnu::java::awt::peer::gtk::GtkGenericPeer
+{
+
+public: // actually package-private
+ virtual jboolean isEnabled();
+ static jboolean modalHasGrab();
+ virtual JArray< jint > * gtkWidgetGetForeground();
+ virtual JArray< jint > * gtkWidgetGetBackground();
+ virtual void gtkWidgetGetDimensions(JArray< jint > *);
+ virtual void gtkWidgetGetPreferredDimensions(JArray< jint > *);
+ virtual void gtkWindowGetLocationOnScreen(JArray< jint > *);
+ virtual void gtkWindowGetLocationOnScreenUnlocked(JArray< jint > *);
+ virtual void gtkWidgetGetLocationOnScreen(JArray< jint > *);
+ virtual void gtkWidgetGetLocationOnScreenUnlocked(JArray< jint > *);
+ virtual void gtkWidgetSetCursor(jint, ::gnu::java::awt::peer::gtk::GtkImage *, jint, jint);
+ virtual void gtkWidgetSetCursorUnlocked(jint, ::gnu::java::awt::peer::gtk::GtkImage *, jint, jint);
+ virtual void gtkWidgetSetBackground(jint, jint, jint);
+ virtual void gtkWidgetSetForeground(jint, jint, jint);
+ virtual void gtkWidgetSetSensitive(jboolean);
+ virtual void gtkWidgetSetParent(::java::awt::peer::ComponentPeer *);
+ virtual void gtkWidgetRequestFocus();
+ virtual void gtkWidgetDispatchKeyEvent(jint, jlong, jint, jint, jint);
+ virtual jboolean gtkWidgetHasFocus();
+ virtual jboolean gtkWidgetCanFocus();
+ virtual void realize();
+ virtual void setNativeEventMask();
+ virtual void create();
+ virtual void connectSignals();
+public: // actually protected
+ GtkComponentPeer(::java::awt::Component *);
+public: // actually package-private
+ virtual void setParentAndBounds();
+ virtual void setParent();
+ virtual void setComponentBounds();
+ virtual void setVisibleAndEnabled();
+public:
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual void disable();
+ virtual void enable();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual ::java::awt::Toolkit * getToolkit();
+ virtual void handleEvent(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual void paintComponent(::java::awt::event::PaintEvent *);
+ virtual void updateComponent(::java::awt::event::PaintEvent *);
+public:
+ virtual jboolean isFocusTraversable();
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual void paint(::java::awt::Graphics *);
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void print(::java::awt::Graphics *);
+ virtual void repaint(jlong, jint, jint, jint, jint);
+ virtual void requestFocus();
+ virtual void reshape(jint, jint, jint, jint);
+ virtual void setBackground(::java::awt::Color *);
+public: // actually package-private
+ virtual void setNativeBounds(jint, jint, jint, jint);
+public:
+ virtual void setBounds(jint, jint, jint, jint);
+public: // actually package-private
+ virtual void setCursor();
+public:
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual void setEnabled(jboolean);
+ virtual void setFont(::java::awt::Font *);
+ virtual void setForeground(::java::awt::Color *);
+ virtual ::java::awt::Color * getForeground();
+ virtual ::java::awt::Color * getBackground();
+ virtual void setVisibleNative(jboolean);
+ virtual void setVisibleNativeUnlocked(jboolean);
+ virtual void setVisible(jboolean);
+ virtual void hide();
+ virtual void show();
+public: // actually protected
+ virtual void postMouseEvent(jint, jlong, jint, jint, jint, jint, jboolean);
+ virtual void postMouseWheelEvent(jint, jlong, jint, jint, jint, jint, jboolean, jint, jint, jint);
+ virtual void postExposeEvent(jint, jint, jint, jint);
+ virtual void postKeyEvent(jint, jlong, jint, jint, jchar, jint);
+ virtual void postFocusEvent(jint, jboolean);
+ virtual void postItemEvent(::java::lang::Object *, jint);
+ virtual void postTextEvent();
+public:
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
+ virtual void setEventMask(jlong);
+ virtual jboolean isFocusable();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong);
+private:
+ ::java::awt::Window * getWindowFor(::java::awt::Component *);
+public: // actually protected
+ virtual jboolean isLightweightDescendant(::java::awt::Component *);
+public:
+ virtual jboolean isObscured();
+ virtual jboolean canDetermineObscurity();
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *);
+ virtual void updateCursorImmediately();
+ virtual jboolean handlesWheelScrolling();
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint);
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *);
+ virtual ::java::awt::Image * getBackBuffer();
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *);
+ virtual void destroyBuffers();
+ virtual ::java::lang::String * toString();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual void reparent(::java::awt::peer::ContainerPeer *);
+ virtual void setBounds(jint, jint, jint, jint, jint);
+ virtual jboolean isReparentSupported();
+ virtual void layout();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *);
+public: // actually package-private
+ ::java::awt::image::VolatileImage * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkGenericPeer)))) backBuffer;
+ ::java::awt::BufferCapabilities * caps;
+ ::java::awt::Component * awtComponent;
+ ::java::awt::Insets * insets;
+private:
+ ::java::awt::Rectangle * currentPaintArea;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkComponentPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.h
new file mode 100644
index 000000000..6097fc88c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkContainerPeer__
+#define __gnu_java_awt_peer_gtk_GtkContainerPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkContainerPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Container;
+ class Font;
+ class Insets;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkContainerPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public:
+ GtkContainerPeer(::java::awt::Container *);
+ virtual void beginValidate();
+ virtual void endValidate();
+ virtual ::java::awt::Insets * getInsets();
+ virtual ::java::awt::Insets * insets();
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void setFont(::java::awt::Font *);
+ virtual void beginLayout();
+ virtual void endLayout();
+ virtual jboolean isPaintPending();
+ virtual void setBackground(::java::awt::Color *);
+ virtual jboolean isRestackSupported();
+ virtual void cancelPendingPaint(jint, jint, jint, jint);
+ virtual void restack();
+public: // actually package-private
+ ::java::awt::Container * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkComponentPeer)))) c;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkContainerPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkCursor.h b/libjava/gnu/java/awt/peer/gtk/GtkCursor.h
new file mode 100644
index 000000000..c0e637585
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkCursor.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkCursor__
+#define __gnu_java_awt_peer_gtk_GtkCursor__
+
+#pragma interface
+
+#include <java/awt/Cursor.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkCursor;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ class Point;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkCursor : public ::java::awt::Cursor
+{
+
+public: // actually package-private
+ GtkCursor(::java::awt::Image *, ::java::awt::Point *, ::java::lang::String *);
+ virtual ::gnu::java::awt::peer::gtk::GtkImage * getGtkImage();
+ virtual ::java::awt::Point * getHotspot();
+private:
+ ::gnu::java::awt::peer::gtk::GtkImage * __attribute__((aligned(__alignof__( ::java::awt::Cursor)))) image;
+ ::java::awt::Point * hotspot;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkCursor__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkDialogPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkDialogPeer.h
new file mode 100644
index 000000000..d143f4775
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkDialogPeer.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkDialogPeer__
+#define __gnu_java_awt_peer_gtk_GtkDialogPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkWindowPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkDialogPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dialog;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkDialogPeer : public ::gnu::java::awt::peer::gtk::GtkWindowPeer
+{
+
+public:
+ GtkDialogPeer(::java::awt::Dialog *);
+public: // actually package-private
+ virtual void create();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkDialogPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.h
new file mode 100644
index 000000000..6dea24e17
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer__
+#define __gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkFramePeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ class EmbeddedWindow;
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkEmbeddedWindowPeer;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkEmbeddedWindowPeer : public ::gnu::java::awt::peer::gtk::GtkFramePeer
+{
+
+public: // actually package-private
+ virtual void create(jlong);
+ virtual void create();
+ virtual void construct(jlong);
+public:
+ virtual void embed(jlong);
+ GtkEmbeddedWindowPeer(::gnu::java::awt::EmbeddedWindow *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkFileDialogPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkFileDialogPeer.h
new file mode 100644
index 000000000..7bf3529ce
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkFileDialogPeer.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkFileDialogPeer__
+#define __gnu_java_awt_peer_gtk_GtkFileDialogPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkDialogPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkContainerPeer;
+ class GtkFileDialogPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class FileDialog;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkFileDialogPeer : public ::gnu::java::awt::peer::gtk::GtkDialogPeer
+{
+
+public: // actually package-private
+ virtual void create(::gnu::java::awt::peer::gtk::GtkContainerPeer *, jint);
+ virtual void connectSignals();
+ virtual void nativeSetFile(::java::lang::String *);
+public:
+ virtual ::java::lang::String * nativeGetDirectory();
+ virtual void nativeSetDirectory(::java::lang::String *);
+public: // actually package-private
+ virtual void nativeSetFilenameFilter(::java::io::FilenameFilter *);
+public:
+ virtual void create();
+ GtkFileDialogPeer(::java::awt::FileDialog *);
+public: // actually package-private
+ virtual void setComponentBounds();
+public:
+ virtual void setFile(::java::lang::String *);
+ virtual void setDirectory(::java::lang::String *);
+ virtual void setFilenameFilter(::java::io::FilenameFilter *);
+public: // actually package-private
+ virtual jboolean filenameFilterCallback(::java::lang::String *);
+public: // actually protected
+ virtual void updateComponent(::java::awt::event::PaintEvent *);
+public: // actually package-private
+ virtual void gtkHideFileDialog();
+ virtual void gtkDisposeFileDialog();
+ virtual void gtkSetFilename(::java::lang::String *);
+ static ::java::lang::String * FS;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkDialogPeer)))) currentFile;
+ ::java::lang::String * currentDirectory;
+ ::java::io::FilenameFilter * filter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkFileDialogPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.h b/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.h
new file mode 100644
index 000000000..2c8ea0ee3
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.h
@@ -0,0 +1,91 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkFramePeer__
+#define __gnu_java_awt_peer_gtk_GtkFramePeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkWindowPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkFramePeer;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Frame;
+ class Image;
+ class MenuBar;
+ class Rectangle;
+ namespace peer
+ {
+ class MenuBarPeer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkFramePeer : public ::gnu::java::awt::peer::gtk::GtkWindowPeer
+{
+
+public: // actually package-private
+ virtual jint getMenuBarHeight(::java::awt::peer::MenuBarPeer *);
+ virtual void setMenuBarWidthUnlocked(::java::awt::peer::MenuBarPeer *, jint);
+ virtual void setMenuBarWidth(::java::awt::peer::MenuBarPeer *, jint);
+ virtual void setMenuBarPeer(::java::awt::peer::MenuBarPeer *);
+ virtual void removeMenuBarPeer();
+ virtual void gtkFixedSetVisible(jboolean);
+private:
+ void maximize();
+ void unmaximize();
+ void iconify();
+ void deiconify();
+public: // actually package-private
+ virtual jint getMenuBarHeight();
+public:
+ virtual void setMenuBar(::java::awt::MenuBar *);
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void setResizable(jboolean);
+public: // actually protected
+ virtual void postInsetsChangedEvent(jint, jint, jint, jint);
+public:
+ GtkFramePeer(::java::awt::Frame *);
+public: // actually package-private
+ virtual void create();
+ virtual void nativeSetIconImage(::gnu::java::awt::peer::gtk::GtkImage *);
+public:
+ virtual void setIconImage(::java::awt::Image *);
+public: // actually protected
+ virtual void postConfigureEvent(jint, jint, jint, jint);
+public:
+ virtual jint getState();
+ virtual void setState(jint);
+ virtual void setMaximizedBounds(::java::awt::Rectangle *);
+ virtual void setBoundsPrivate(jint, jint, jint, jint);
+ virtual jboolean requestWindowFocus();
+ virtual ::java::awt::Rectangle * getBoundsPrivate();
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkWindowPeer)))) menuBarHeight;
+ ::java::awt::peer::MenuBarPeer * menuBar;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkFramePeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkGenericPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkGenericPeer.h
new file mode 100644
index 000000000..ffb135bac
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkGenericPeer.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkGenericPeer__
+#define __gnu_java_awt_peer_gtk_GtkGenericPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkGenericPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class EventQueue;
+ class Font;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkGenericPeer : public ::java::lang::Object
+{
+
+ static void initIDs();
+public:
+ virtual void dispose();
+public: // actually package-private
+ static ::java::awt::EventQueue * q();
+public: // actually protected
+ GtkGenericPeer(::java::lang::Object *);
+ virtual void postActionEvent(::java::lang::String *, jint);
+public: // actually package-private
+ static jint getUniqueInteger();
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::awt::Font *);
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ static void printCurrentThread();
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) native_state;
+private:
+ static jint next_native_state;
+public: // actually protected
+ ::java::lang::Object * awtWidget;
+private:
+ ::gnu::classpath::Pointer * widget;
+ ::gnu::classpath::Pointer * globalRef;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkGenericPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkImage.h b/libjava/gnu/java/awt/peer/gtk/GtkImage.h
new file mode 100644
index 000000000..4028d93f5
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkImage.h
@@ -0,0 +1,113 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkImage__
+#define __gnu_java_awt_peer_gtk_GtkImage__
+
+#pragma interface
+
+#include <java/awt/Image.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class Image;
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkImage : public ::java::awt::Image
+{
+
+ void initFromBuffer(jlong);
+public: // actually package-private
+ virtual JArray< jint > * getPixels();
+private:
+ void setPixels(JArray< jint > *);
+ jboolean loadPixbuf(::java::lang::String *);
+ jboolean loadImageFromData(JArray< jbyte > *);
+ void createPixbuf();
+ void freePixbuf();
+ void createScaledPixbuf(::gnu::java::awt::peer::gtk::GtkImage *, jint);
+public:
+ GtkImage(::java::awt::image::ImageProducer *);
+ GtkImage();
+ GtkImage(::java::lang::String *);
+ GtkImage(JArray< jbyte > *);
+ GtkImage(::java::net::URL *);
+private:
+ GtkImage(::gnu::java::awt::peer::gtk::GtkImage *, jint, jint, jint);
+public: // actually package-private
+ GtkImage(::gnu::classpath::Pointer *);
+ GtkImage(jint, jint, jlong);
+ static ::gnu::java::awt::peer::gtk::GtkImage * getErrorImage();
+private:
+ void createFromPixbuf();
+public:
+ virtual void setImage(jint, jint, JArray< jint > *, ::java::util::Hashtable *);
+ virtual jint getWidth(::java::awt::image::ImageObserver *);
+ virtual jint getHeight(::java::awt::image::ImageObserver *);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::image::ImageProducer * getSource();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Image * getScaledInstance(jint, jint, jint);
+ virtual void flush();
+ virtual void finalize();
+ virtual jint checkImage(::java::awt::image::ImageObserver *);
+private:
+ void deliver();
+ jboolean addObserver(::java::awt::image::ImageObserver *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::Image)))) width;
+ jint height;
+ ::java::util::Hashtable * props;
+ jboolean isLoaded;
+ ::gnu::classpath::Pointer * pixbuf;
+ ::java::util::Vector * observers;
+ jboolean errorLoading;
+ ::java::awt::image::ImageProducer * source;
+ static ::java::awt::image::ColorModel * nativeModel;
+private:
+ static ::gnu::java::awt::peer::gtk::GtkImage * errorImage;
+public: // actually package-private
+ static ::java::lang::Object * pixbufLock;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkImage__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkImageConsumer.h b/libjava/gnu/java/awt/peer/gtk/GtkImageConsumer.h
new file mode 100644
index 000000000..aeccd061d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkImageConsumer.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkImageConsumer__
+#define __gnu_java_awt_peer_gtk_GtkImageConsumer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkImage;
+ class GtkImageConsumer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class ImageProducer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkImageConsumer : public ::java::lang::Object
+{
+
+public:
+ GtkImageConsumer(::gnu::java::awt::peer::gtk::GtkImage *, ::java::awt::image::ImageProducer *);
+ virtual void imageComplete(jint);
+ virtual void setColorModel(::java::awt::image::ColorModel *);
+ virtual void setDimensions(jint, jint);
+ virtual void setHints(jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+private:
+ JArray< jint > * convertPixels(JArray< jbyte > *);
+public:
+ virtual void setProperties(::java::util::Hashtable *);
+private:
+ ::gnu::java::awt::peer::gtk::GtkImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
+ jint width;
+ jint height;
+ ::java::util::Hashtable * properties;
+ JArray< jint > * pixelCache;
+ ::java::awt::image::ImageProducer * source;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkImageConsumer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkLabelPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkLabelPeer.h
new file mode 100644
index 000000000..c80c6f47a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkLabelPeer.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkLabelPeer__
+#define __gnu_java_awt_peer_gtk_GtkLabelPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkLabelPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Label;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkLabelPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create(::java::lang::String *, jfloat);
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void nativeSetAlignment(jfloat);
+public:
+ virtual void setNativeText(::java::lang::String *);
+public: // actually package-private
+ virtual void setNativeBounds(jint, jint, jint, jint);
+ virtual void gtkWidgetGetPreferredDimensions(JArray< jint > *);
+ virtual void create();
+public:
+ virtual void setText(::java::lang::String *);
+ GtkLabelPeer(::java::awt::Label *);
+ virtual void setAlignment(jint);
+public: // actually package-private
+ virtual jfloat getGtkAlignment(jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkLabelPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkListPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkListPeer.h
new file mode 100644
index 000000000..8d8a7a0ac
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkListPeer.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkListPeer__
+#define __gnu_java_awt_peer_gtk_GtkListPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkListPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Dimension;
+ class List;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkListPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create();
+ virtual void create(jint);
+ virtual void connectSignals();
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void gtkWidgetRequestFocus();
+ virtual void getSize(jint, jint, JArray< jint > *);
+public:
+ GtkListPeer(::java::awt::List *);
+public: // actually package-private
+ virtual void append(JArray< ::java::lang::String * > *);
+public:
+ virtual void add(::java::lang::String *, jint);
+ virtual void addItem(::java::lang::String *, jint);
+ virtual void clear();
+ virtual void delItems(jint, jint);
+ virtual void deselect(jint);
+ virtual ::java::awt::Dimension * getMinimumSize(jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint);
+ virtual JArray< jint > * getSelectedIndexes();
+ virtual void makeVisible(jint);
+ virtual ::java::awt::Dimension * minimumSize(jint);
+ virtual ::java::awt::Dimension * preferredSize(jint);
+ virtual void removeAll();
+ virtual void select(jint);
+ virtual void setMultipleMode(jboolean);
+ virtual void setMultipleSelections(jboolean);
+ virtual void handleEvent(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual void postItemEvent(jint, jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkListPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMainThread.h b/libjava/gnu/java/awt/peer/gtk/GtkMainThread.h
new file mode 100644
index 000000000..159ec7838
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMainThread.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMainThread__
+#define __gnu_java_awt_peer_gtk_GtkMainThread__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkMainThread;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMainThread : public ::java::lang::Thread
+{
+
+ GtkMainThread();
+public:
+ virtual void run();
+private:
+ static void setRunning(jboolean);
+ static void startMainThread();
+ static void endMainThread();
+public:
+ static void createWindow();
+ static void destroyWindow();
+private:
+ static jint numberOfWindows;
+ static ::java::lang::Object * nWindowsLock;
+ static jboolean running;
+ static ::java::lang::Object * runningLock;
+public:
+ static ::gnu::java::awt::peer::gtk::GtkMainThread * mainThread;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMainThread__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMenuBarPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkMenuBarPeer.h
new file mode 100644
index 000000000..916d6dd93
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMenuBarPeer.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMenuBarPeer__
+#define __gnu_java_awt_peer_gtk_GtkMenuBarPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkMenuBarPeer;
+ class GtkMenuPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Menu;
+ class MenuBar;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMenuBarPeer : public ::gnu::java::awt::peer::gtk::GtkMenuComponentPeer
+{
+
+public: // actually protected
+ virtual void create();
+private:
+ void addMenu(::gnu::java::awt::peer::gtk::GtkMenuPeer *);
+public:
+ GtkMenuBarPeer(::java::awt::MenuBar *);
+ virtual void addHelpMenu(::java::awt::Menu *);
+ virtual void delMenu(jint);
+ virtual void addMenu(::java::awt::Menu *);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkMenuComponentPeer)))) hasHelpMenu;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMenuBarPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h
new file mode 100644
index 000000000..500f5a94d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMenuComponentPeer__
+#define __gnu_java_awt_peer_gtk_GtkMenuComponentPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkGenericPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkMenuComponentPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class MenuComponent;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMenuComponentPeer : public ::gnu::java::awt::peer::gtk::GtkGenericPeer
+{
+
+public: // actually protected
+ virtual void create() = 0;
+private:
+ void setFont();
+public:
+ GtkMenuComponentPeer(::java::awt::MenuComponent *);
+ virtual void dispose();
+ virtual void setFont(::java::awt::Font *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMenuComponentPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMenuItemPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkMenuItemPeer.h
new file mode 100644
index 000000000..e84841cc3
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMenuItemPeer.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMenuItemPeer__
+#define __gnu_java_awt_peer_gtk_GtkMenuItemPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkMenuItemPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class MenuItem;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMenuItemPeer : public ::gnu::java::awt::peer::gtk::GtkMenuComponentPeer
+{
+
+public: // actually protected
+ virtual void create(::java::lang::String *);
+ virtual void connectSignals();
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+ virtual void create();
+public:
+ GtkMenuItemPeer(::java::awt::MenuItem *);
+ virtual void disable();
+ virtual void enable();
+ virtual void setEnabled(jboolean);
+ virtual void setLabel(::java::lang::String *);
+public: // actually protected
+ virtual void postMenuActionEvent();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMenuItemPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMenuPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkMenuPeer.h
new file mode 100644
index 000000000..1d1f84a90
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMenuPeer.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMenuPeer__
+#define __gnu_java_awt_peer_gtk_GtkMenuPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkMenuItemPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkGenericPeer;
+ class GtkMenuPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Menu;
+ class MenuItem;
+ class MenuShortcut;
+ namespace peer
+ {
+ class MenuItemPeer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMenuPeer : public ::gnu::java::awt::peer::gtk::GtkMenuItemPeer
+{
+
+public: // actually protected
+ virtual void create(::java::lang::String *);
+private:
+ void addItem(::java::awt::peer::MenuItemPeer *, jint, jboolean);
+public: // actually package-private
+ virtual void setupAccelGroup(::gnu::java::awt::peer::gtk::GtkGenericPeer *);
+private:
+ void addTearOff();
+public: // actually protected
+ virtual void connectSignals();
+public:
+ GtkMenuPeer(::java::awt::Menu *);
+ virtual void addItem(::java::awt::MenuItem *);
+ virtual void addItem(::java::awt::peer::MenuItemPeer *, ::java::awt::MenuShortcut *);
+ virtual void delItem(jint);
+ virtual void addSeparator();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMenuPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.h
new file mode 100644
index 000000000..8edc66349
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMouseInfoPeer__
+#define __gnu_java_awt_peer_gtk_GtkMouseInfoPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkGraphicsEnvironment;
+ class GtkMouseInfoPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ class Window;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMouseInfoPeer : public ::java::lang::Object
+{
+
+public:
+ GtkMouseInfoPeer();
+ virtual jint fillPointWithCoords(::java::awt::Point *);
+ virtual jboolean isWindowUnderMouse(::java::awt::Window *);
+private:
+ static ::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment * gde;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMouseInfoPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkPanelPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkPanelPeer.h
new file mode 100644
index 000000000..b4349ee5d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkPanelPeer.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkPanelPeer__
+#define __gnu_java_awt_peer_gtk_GtkPanelPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkPanelPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Panel;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkPanelPeer : public ::gnu::java::awt::peer::gtk::GtkContainerPeer
+{
+
+public: // actually package-private
+ virtual void create();
+public:
+ GtkPanelPeer(::java::awt::Panel *);
+ virtual void handleEvent(::java::awt::AWTEvent *);
+public: // actually package-private
+ virtual void connectSignals();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkPanelPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.h
new file mode 100644
index 000000000..f62b014d7
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkPopupMenuPeer__
+#define __gnu_java_awt_peer_gtk_GtkPopupMenuPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkMenuPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkGenericPeer;
+ class GtkPopupMenuPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Event;
+ class PopupMenu;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkPopupMenuPeer : public ::gnu::java::awt::peer::gtk::GtkMenuPeer
+{
+
+public:
+ GtkPopupMenuPeer(::java::awt::PopupMenu *);
+public: // actually package-private
+ virtual void setupAccelGroup(::gnu::java::awt::peer::gtk::GtkGenericPeer *);
+ virtual void show(jint, jint, jlong);
+public:
+ virtual void show(::java::awt::Component *, jint, jint);
+ virtual void show(::java::awt::Event *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkPopupMenuPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkScrollPanePeer.h b/libjava/gnu/java/awt/peer/gtk/GtkScrollPanePeer.h
new file mode 100644
index 000000000..051fd8334
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkScrollPanePeer.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkScrollPanePeer__
+#define __gnu_java_awt_peer_gtk_GtkScrollPanePeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkScrollPanePeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Adjustable;
+ class Dimension;
+ class ScrollPane;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkScrollPanePeer : public ::gnu::java::awt::peer::gtk::GtkContainerPeer
+{
+
+public: // actually package-private
+ virtual void create(jint, jint);
+ virtual void create();
+ virtual void gtkScrolledWindowSetHScrollIncrement(jint);
+ virtual void gtkScrolledWindowSetVScrollIncrement(jint);
+public:
+ GtkScrollPanePeer(::java::awt::ScrollPane *);
+public: // actually package-private
+ virtual void setPolicy(jint);
+public:
+ virtual void childResized(jint, jint);
+ virtual jint getHScrollbarHeight();
+ virtual jint getVScrollbarWidth();
+ virtual void setScrollPosition(jint, jint);
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual void setUnitIncrement(::java::awt::Adjustable *, jint);
+ virtual void setValue(::java::awt::Adjustable *, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkScrollPanePeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkScrollbarPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkScrollbarPeer.h
new file mode 100644
index 000000000..3557d624a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkScrollbarPeer.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkScrollbarPeer__
+#define __gnu_java_awt_peer_gtk_GtkScrollbarPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkScrollbarPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Scrollbar;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkScrollbarPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create();
+ virtual void create(jint, jint, jint, jint, jint, jint, jint);
+ virtual void connectSignals();
+public:
+ GtkScrollbarPeer(::java::awt::Scrollbar *);
+ virtual void setLineIncrement(jint);
+ virtual void setPageIncrement(jint);
+ virtual void setValues(jint, jint, jint, jint);
+private:
+ void setBarValues(jint, jint, jint, jint);
+public: // actually protected
+ virtual void postAdjustmentEvent(jint, jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkScrollbarPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkSelection.h b/libjava/gnu/java/awt/peer/gtk/GtkSelection.h
new file mode 100644
index 000000000..5ed45d00c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkSelection.h
@@ -0,0 +1,94 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkSelection__
+#define __gnu_java_awt_peer_gtk_GtkSelection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkClipboard;
+ class GtkSelection;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ namespace datatransfer
+ {
+ class DataFlavor;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkSelection : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GtkSelection(::gnu::java::awt::peer::gtk::GtkClipboard *);
+public:
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors();
+private:
+ void mimeTypesAvailable(JArray< ::java::lang::String * > *);
+public:
+ virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *);
+private:
+ ::java::lang::String * getText();
+ void textAvailable(::java::lang::String *);
+ ::java::awt::Image * getImage();
+ void imageAvailable(::gnu::classpath::Pointer *);
+ ::java::util::List * getURIs();
+ void urisAvailable(JArray< ::java::lang::String * > *);
+ JArray< jbyte > * getBytes(::java::lang::String *);
+ void bytesAvailable(JArray< jbyte > *);
+public:
+ virtual ::java::lang::Object * getTransferData(::java::awt::datatransfer::DataFlavor *);
+private:
+ void requestText(jboolean);
+ void requestImage(jboolean);
+ void requestURIs(jboolean);
+ void requestBytes(jboolean, ::java::lang::String *);
+ void requestMimeTypes(jboolean);
+ static ::java::lang::Object * requestLock;
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) clipboard;
+ jboolean requestInProgress;
+ jboolean mimeTypesDelivered;
+ JArray< ::java::awt::datatransfer::DataFlavor * > * dataFlavors;
+ jboolean textDelivered;
+ ::java::lang::String * text;
+ jboolean imageDelivered;
+ ::gnu::classpath::Pointer * imagePointer;
+ ::java::awt::Image * image;
+ jboolean urisDelivered;
+ ::java::util::List * uris;
+ jboolean bytesDelivered;
+ JArray< jbyte > * bytes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkSelection__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.h
new file mode 100644
index 000000000..5d4b14ee5
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.h
@@ -0,0 +1,89 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkTextAreaPeer__
+#define __gnu_java_awt_peer_gtk_GtkTextAreaPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkTextAreaPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class Rectangle;
+ class TextArea;
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkTextAreaPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create(jint, jint, jint);
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void gtkWidgetRequestFocus();
+public:
+ virtual void connectSignals();
+ virtual jint getCaretPosition();
+ virtual void setCaretPosition(jint);
+ virtual jint getSelectionStart();
+ virtual jint getSelectionEnd();
+ virtual ::java::lang::String * getText();
+ virtual void select(jint, jint);
+ virtual void setEditable(jboolean);
+ virtual void setText(::java::lang::String *);
+ virtual jint getIndexAtPoint(jint, jint);
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint);
+ virtual jlong filterEvents(jlong);
+public: // actually package-private
+ virtual void create();
+public:
+ GtkTextAreaPeer(::java::awt::TextArea *);
+ virtual void insert(::java::lang::String *, jint);
+ virtual void replaceRange(::java::lang::String *, jint, jint);
+ virtual ::java::awt::Dimension * getMinimumSize(jint, jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint, jint);
+public: // actually package-private
+ virtual jint getHScrollbarHeight();
+ virtual jint getVScrollbarWidth();
+public:
+ virtual ::java::awt::Dimension * minimumSize(jint, jint);
+ virtual ::java::awt::Dimension * preferredSize(jint, jint);
+ virtual void replaceText(::java::lang::String *, jint, jint);
+ virtual void insertText(::java::lang::String *, jint);
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests();
+private:
+ static jint DEFAULT_ROWS;
+ static jint DEFAULT_COLS;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkTextAreaPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkTextFieldPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkTextFieldPeer.h
new file mode 100644
index 000000000..ddcf366aa
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkTextFieldPeer.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkTextFieldPeer__
+#define __gnu_java_awt_peer_gtk_GtkTextFieldPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkTextFieldPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Dimension;
+ class Rectangle;
+ class TextField;
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkTextFieldPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create(jint);
+ virtual void gtkWidgetSetBackground(jint, jint, jint);
+ virtual void gtkWidgetSetForeground(jint, jint, jint);
+public:
+ virtual void connectSignals();
+ virtual jint getCaretPosition();
+ virtual void setCaretPosition(jint);
+ virtual jint getSelectionStart();
+ virtual jint getSelectionEnd();
+ virtual ::java::lang::String * getText();
+ virtual void select(jint, jint);
+ virtual void setEditable(jboolean);
+ virtual void setText(::java::lang::String *);
+ virtual jint getIndexAtPoint(jint, jint);
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint);
+ virtual jlong filterEvents(jlong);
+public: // actually package-private
+ virtual void create();
+ virtual jint gtkEntryGetBorderWidth();
+public:
+ GtkTextFieldPeer(::java::awt::TextField *);
+ virtual ::java::awt::Dimension * getMinimumSize(jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint);
+ virtual void setEchoChar(jchar);
+ virtual ::java::awt::Dimension * minimumSize(jint);
+ virtual ::java::awt::Dimension * preferredSize(jint);
+ virtual void setEchoCharacter(jchar);
+ virtual void handleEvent(::java::awt::AWTEvent *);
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkTextFieldPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkToolkit$LRUCache.h b/libjava/gnu/java/awt/peer/gtk/GtkToolkit$LRUCache.h
new file mode 100644
index 000000000..c8d404bd4
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkToolkit$LRUCache.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkToolkit$LRUCache__
+#define __gnu_java_awt_peer_gtk_GtkToolkit$LRUCache__
+
+#pragma interface
+
+#include <java/util/LinkedHashMap.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkToolkit$LRUCache;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkToolkit$LRUCache : public ::java::util::LinkedHashMap
+{
+
+public:
+ GtkToolkit$LRUCache(jint);
+public: // actually protected
+ virtual jboolean removeEldestEntry(::java::util::Map$Entry *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::util::LinkedHashMap)))) max_entries;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkToolkit$LRUCache__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkToolkit.h b/libjava/gnu/java/awt/peer/gtk/GtkToolkit.h
new file mode 100644
index 000000000..c562e059e
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkToolkit.h
@@ -0,0 +1,250 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkToolkit__
+#define __gnu_java_awt_peer_gtk_GtkToolkit__
+
+#pragma interface
+
+#include <gnu/java/awt/ClasspathToolkit.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ class EmbeddedWindow;
+ namespace peer
+ {
+ class ClasspathFontPeer;
+ class EmbeddedWindowPeer;
+ namespace gtk
+ {
+ class GtkComponentPeer;
+ class GtkToolkit;
+ class GtkToolkit$LRUCache;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ class Canvas;
+ class Checkbox;
+ class CheckboxMenuItem;
+ class Choice;
+ class Component;
+ class Cursor;
+ class Dialog;
+ class Dialog$ModalExclusionType;
+ class Dialog$ModalityType;
+ class Dimension;
+ class EventQueue;
+ class FileDialog;
+ class Font;
+ class FontMetrics;
+ class Frame;
+ class GraphicsDevice;
+ class GraphicsEnvironment;
+ class Image;
+ class Label;
+ class List;
+ class Menu;
+ class MenuBar;
+ class MenuItem;
+ class Panel;
+ class Point;
+ class PopupMenu;
+ class PrintJob;
+ class Rectangle;
+ class ScrollPane;
+ class Scrollbar;
+ class TextArea;
+ class TextField;
+ class Window;
+ namespace datatransfer
+ {
+ class Clipboard;
+ }
+ namespace dnd
+ {
+ class DragGestureEvent;
+ class DragGestureListener;
+ class DragGestureRecognizer;
+ class DragSource;
+ namespace peer
+ {
+ class DragSourceContextPeer;
+ }
+ }
+ namespace im
+ {
+ class InputMethodHighlight;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ }
+ namespace peer
+ {
+ class ButtonPeer;
+ class CanvasPeer;
+ class CheckboxMenuItemPeer;
+ class CheckboxPeer;
+ class ChoicePeer;
+ class DialogPeer;
+ class FileDialogPeer;
+ class FontPeer;
+ class FramePeer;
+ class LabelPeer;
+ class ListPeer;
+ class MenuBarPeer;
+ class MenuItemPeer;
+ class MenuPeer;
+ class MouseInfoPeer;
+ class PanelPeer;
+ class PopupMenuPeer;
+ class RobotPeer;
+ class ScrollPanePeer;
+ class ScrollbarPeer;
+ class TextAreaPeer;
+ class TextFieldPeer;
+ class WindowPeer;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class IIORegistry;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkToolkit : public ::gnu::java::awt::ClasspathToolkit
+{
+
+public: // actually package-private
+ static void gtkInit(jint, ::java::lang::Object *);
+ static void gtkMain();
+ static void gtkQuit();
+private:
+ static void initIDs();
+public: // actually package-private
+ static void initializeGlobalIDs();
+public:
+ GtkToolkit();
+ virtual void beep();
+private:
+ void getScreenSizeDimensions(JArray< jint > *);
+public:
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+public: // actually package-private
+ static ::java::awt::Image * imageOrError(::java::awt::Image *);
+public:
+ virtual ::java::awt::Image * createImage(::java::lang::String *);
+ virtual ::java::awt::Image * createImage(::java::net::URL *);
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
+ virtual ::java::awt::Image * createImage(JArray< jbyte > *, jint, jint);
+ virtual ::java::awt::image::ImageProducer * createImageProducer(::java::net::URL *);
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual JArray< ::java::lang::String * > * getFontList();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::Image * getImage(::java::lang::String *);
+ virtual ::java::awt::Image * getImage(::java::net::URL *);
+ virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *);
+ virtual jint getScreenResolution();
+ virtual ::java::awt::Dimension * getScreenSize();
+ virtual ::java::awt::datatransfer::Clipboard * getSystemClipboard();
+ virtual ::java::awt::datatransfer::Clipboard * getSystemSelection();
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void sync();
+public: // actually protected
+ virtual void setComponentState(::java::awt::Component *, ::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *);
+ virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *);
+ virtual ::java::awt::peer::CheckboxPeer * createCheckbox(::java::awt::Checkbox *);
+ virtual ::java::awt::peer::CheckboxMenuItemPeer * createCheckboxMenuItem(::java::awt::CheckboxMenuItem *);
+ virtual ::java::awt::peer::ChoicePeer * createChoice(::java::awt::Choice *);
+ virtual ::java::awt::peer::DialogPeer * createDialog(::java::awt::Dialog *);
+ virtual ::java::awt::peer::FileDialogPeer * createFileDialog(::java::awt::FileDialog *);
+ virtual ::java::awt::peer::FramePeer * createFrame(::java::awt::Frame *);
+ virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *);
+ virtual ::java::awt::peer::ListPeer * createList(::java::awt::List *);
+ virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *);
+ virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *);
+ virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *);
+ virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *);
+ virtual ::java::awt::peer::PopupMenuPeer * createPopupMenu(::java::awt::PopupMenu *);
+ virtual ::java::awt::peer::ScrollPanePeer * createScrollPane(::java::awt::ScrollPane *);
+ virtual ::java::awt::peer::ScrollbarPeer * createScrollbar(::java::awt::Scrollbar *);
+ virtual ::java::awt::peer::TextAreaPeer * createTextArea(::java::awt::TextArea *);
+ virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *);
+ virtual ::java::awt::peer::WindowPeer * createWindow(::java::awt::Window *);
+public:
+ virtual ::gnu::java::awt::peer::EmbeddedWindowPeer * createEmbeddedWindow(::gnu::java::awt::EmbeddedWindow *);
+public: // actually protected
+ virtual ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint);
+private:
+ ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint, jint);
+public:
+ virtual ::gnu::java::awt::peer::ClasspathFontPeer * getClasspathFontPeer(::java::lang::String *, ::java::util::Map *);
+public: // actually protected
+ virtual ::java::awt::EventQueue * getSystemEventQueueImpl();
+public:
+ virtual ::java::awt::Cursor * createCustomCursor(::java::awt::Image *, ::java::awt::Point *, ::java::lang::String *);
+public: // actually protected
+ virtual void loadSystemColors(JArray< jint > *);
+public:
+ virtual ::java::awt::dnd::peer::DragSourceContextPeer * createDragSourceContextPeer(::java::awt::dnd::DragGestureEvent *);
+ virtual ::java::awt::dnd::DragGestureRecognizer * createDragGestureRecognizer(::java::lang::Class *, ::java::awt::dnd::DragSource *, ::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
+ virtual ::java::util::Map * mapInputMethodHighlight(::java::awt::im::InputMethodHighlight *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::GraphicsEnvironment * getLocalGraphicsEnvironment();
+ virtual ::java::awt::Font * createFont(jint, ::java::io::InputStream *);
+ virtual ::java::awt::peer::RobotPeer * createRobot(::java::awt::GraphicsDevice *);
+ virtual jboolean getLockingKeyState(jint);
+public: // actually protected
+ virtual jint getLockState(jint);
+public:
+ virtual void registerImageIOSpis(::javax::imageio::spi::IIORegistry *);
+public: // actually protected
+ virtual ::java::awt::peer::MouseInfoPeer * getMouseInfoPeer();
+public:
+ virtual jboolean isFrameStateSupported(jint);
+private:
+ void checkHeadless();
+public:
+ virtual jint getMouseNumberOfButtons();
+ virtual jboolean isModalExclusionTypeSupported(::java::awt::Dialog$ModalExclusionType *);
+ virtual jboolean isModalityTypeSupported(::java::awt::Dialog$ModalityType *);
+public: // actually package-private
+ static ::java::lang::Object * GTK_LOCK;
+private:
+ static ::java::awt::EventQueue * q;
+ static jboolean initializedGlobalIDs;
+ ::gnu::java::awt::peer::gtk::GtkToolkit$LRUCache * __attribute__((aligned(__alignof__( ::gnu::java::awt::ClasspathToolkit)))) fontCache;
+ ::gnu::java::awt::peer::gtk::GtkToolkit$LRUCache * imageCache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkToolkit__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkVolatileImage.h b/libjava/gnu/java/awt/peer/gtk/GtkVolatileImage.h
new file mode 100644
index 000000000..308bc8e7d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkVolatileImage.h
@@ -0,0 +1,98 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkVolatileImage__
+#define __gnu_java_awt_peer_gtk_GtkVolatileImage__
+
+#pragma interface
+
+#include <java/awt/image/VolatileImage.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkComponentPeer;
+ class GtkVolatileImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class Graphics2D;
+ class GraphicsConfiguration;
+ class ImageCapabilities;
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ class SampleModel;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkVolatileImage : public ::java::awt::image::VolatileImage
+{
+
+public: // actually package-private
+ virtual jlong init(::gnu::java::awt::peer::gtk::GtkComponentPeer *, jint, jint);
+ virtual void destroy(jlong);
+ virtual JArray< jint > * nativeGetPixels(jlong);
+public:
+ virtual JArray< jint > * getPixels();
+public: // actually package-private
+ virtual void nativeCopyArea(jlong, jint, jint, jint, jint, jint, jint);
+public:
+ virtual void copyArea(jint, jint, jint, jint, jint, jint);
+public: // actually package-private
+ virtual void nativeDrawVolatile(jlong, jlong, jint, jint, jint, jint);
+public:
+ virtual void drawVolatile(jlong, jint, jint, jint, jint);
+ GtkVolatileImage(::gnu::java::awt::peer::gtk::GtkComponentPeer *, jint, jint, ::java::awt::ImageCapabilities *);
+ GtkVolatileImage(jint, jint, ::java::awt::ImageCapabilities *);
+ GtkVolatileImage(jint, jint);
+ virtual void finalize();
+ virtual void dispose();
+ virtual ::java::awt::image::BufferedImage * getSnapshot();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Graphics2D * createGraphics();
+ virtual jint validate(::java::awt::GraphicsConfiguration *);
+ virtual jboolean contentsLost();
+ virtual ::java::awt::ImageCapabilities * getCapabilities();
+ virtual jint getWidth();
+ virtual jint getHeight();
+ virtual jint getWidth(::java::awt::image::ImageObserver *);
+ virtual jint getHeight(::java::awt::image::ImageObserver *);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
+public: // actually protected
+ static ::java::awt::image::SampleModel * createGdkSampleModel(jint, jint);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::VolatileImage)))) width;
+ jint height;
+private:
+ ::java::awt::ImageCapabilities * caps;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GtkComponentPeer * component;
+ static ::java::awt::image::ColorModel * gdkColorModel;
+ jlong nativePointer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkVolatileImage__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkWindowPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkWindowPeer.h
new file mode 100644
index 000000000..a40f4168d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkWindowPeer.h
@@ -0,0 +1,133 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkWindowPeer__
+#define __gnu_java_awt_peer_gtk_GtkWindowPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkWindowPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Dialog;
+ class Graphics;
+ class Point;
+ class Rectangle;
+ class Window;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkWindowPeer : public ::gnu::java::awt::peer::gtk::GtkContainerPeer
+{
+
+public: // actually package-private
+ virtual void gtkWindowSetTitle(::java::lang::String *);
+ virtual void gtkWindowSetResizable(jboolean);
+ virtual void gtkWindowSetModal(jboolean);
+ virtual void gtkWindowSetAlwaysOnTop(jboolean);
+ virtual jboolean gtkWindowHasFocus();
+ virtual void realize();
+public:
+ virtual void dispose();
+public: // actually package-private
+ virtual jint getX();
+ virtual jint getY();
+ virtual jint getWidth();
+ virtual jint getHeight();
+ virtual void create(jint, jboolean, ::gnu::java::awt::peer::gtk::GtkWindowPeer *);
+ virtual void create(jint, jboolean);
+ virtual void create();
+ virtual void setParent();
+ virtual void setVisibleAndEnabled();
+public:
+ virtual void setVisibleNative(jboolean);
+ virtual void setVisibleNativeUnlocked(jboolean);
+public: // actually package-private
+ virtual void connectSignals();
+public:
+ GtkWindowPeer(::java::awt::Window *);
+ virtual void toBack();
+ virtual void toFront();
+public: // actually package-private
+ virtual void nativeSetBounds(jint, jint, jint, jint);
+ virtual void nativeSetBoundsUnlocked(jint, jint, jint, jint);
+ virtual void nativeSetLocation(jint, jint);
+ virtual void nativeSetLocationUnlocked(jint, jint);
+public: // actually protected
+ virtual void setLocation(jint, jint);
+public:
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void setTitle(::java::lang::String *);
+public: // actually protected
+ virtual void setSize(jint, jint);
+public:
+ virtual void setResizable(jboolean);
+public: // actually protected
+ virtual void postInsetsChangedEvent(jint, jint, jint, jint);
+ virtual void postConfigureEvent(jint, jint, jint, jint);
+public:
+ virtual void show();
+public: // actually package-private
+ virtual void postWindowEvent(jint, ::java::awt::Window *, jint);
+public:
+ virtual void updateAlwaysOnTop();
+public: // actually protected
+ virtual void postExposeEvent(jint, jint, jint, jint);
+public:
+ virtual jboolean requestWindowFocus();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong);
+ virtual ::java::awt::Graphics * getGraphics();
+public: // actually protected
+ virtual void postMouseEvent(jint, jlong, jint, jint, jint, jint, jboolean);
+public:
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual void updateIconImages();
+ virtual void updateMinimumSize();
+ virtual void setModalBlocked(::java::awt::Dialog *, jboolean);
+ virtual void updateFocusableWindowState();
+ virtual void setAlwaysOnTop(jboolean);
+public: // actually protected
+ static const jint GDK_WINDOW_TYPE_HINT_NORMAL = 0;
+ static const jint GDK_WINDOW_TYPE_HINT_DIALOG = 1;
+ static const jint GDK_WINDOW_TYPE_HINT_MENU = 2;
+ static const jint GDK_WINDOW_TYPE_HINT_TOOLBAR = 3;
+ static const jint GDK_WINDOW_TYPE_HINT_SPLASHSCREEN = 4;
+ static const jint GDK_WINDOW_TYPE_HINT_UTILITY = 5;
+ static const jint GDK_WINDOW_TYPE_HINT_DOCK = 6;
+ static const jint GDK_WINDOW_TYPE_HINT_DESKTOP = 7;
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkContainerPeer)))) windowState;
+private:
+ jint x;
+ jint y;
+ jint width;
+ jint height;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkWindowPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/VolatileImageGraphics.h b/libjava/gnu/java/awt/peer/gtk/VolatileImageGraphics.h
new file mode 100644
index 000000000..b7f0121d9
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/VolatileImageGraphics.h
@@ -0,0 +1,90 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_VolatileImageGraphics__
+#define __gnu_java_awt_peer_gtk_VolatileImageGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/ComponentGraphics.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkVolatileImage;
+ class VolatileImageGraphics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Shape;
+ namespace font
+ {
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::VolatileImageGraphics : public ::gnu::java::awt::peer::gtk::ComponentGraphics
+{
+
+public:
+ VolatileImageGraphics(::gnu::java::awt::peer::gtk::GtkVolatileImage *);
+private:
+ VolatileImageGraphics(::gnu::java::awt::peer::gtk::VolatileImageGraphics *);
+public:
+ virtual void copyAreaImpl(jint, jint, jint, jint, jint, jint);
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+ virtual ::java::awt::Graphics * create();
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * getRealBounds();
+private:
+ jboolean drawComposite(::java::awt::geom::Rectangle2D *, ::java::awt::image::ImageObserver *);
+ void createBuffer();
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getNativeCM();
+private:
+ ::gnu::java::awt::peer::gtk::GtkVolatileImage * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::ComponentGraphics)))) owner;
+ ::java::awt::image::BufferedImage * buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_VolatileImageGraphics__