aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/awt
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2007-01-11 00:15:27 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-01-11 00:15:27 +0000
commita6ec93973c6adf3fc6229ec00114eddf7b1de16f (patch)
tree01d9055267d01f0ea0af975f7a555df18b81983e /libjava/gnu/awt
parenteee96b1bb085e08d7a6eb415bb42e61122914268 (diff)
downloadgcc-a6ec93973c6adf3fc6229ec00114eddf7b1de16f.zip
gcc-a6ec93973c6adf3fc6229ec00114eddf7b1de16f.tar.gz
gcc-a6ec93973c6adf3fc6229ec00114eddf7b1de16f.tar.bz2
*.h: New files.
* gnu/gcj/xlib/*.h: New files. * gnu/awt/xlib/*.h: Likewise. * classpath/lib/gnu/gcj/xlib: New class files. * classpath/lib/gnu/awt/xlib: Likewise. From-SVN: r120655
Diffstat (limited to 'libjava/gnu/awt')
-rw-r--r--libjava/gnu/awt/xlib/XCanvasPeer$DoMap.h43
-rw-r--r--libjava/gnu/awt/xlib/XCanvasPeer.h156
-rw-r--r--libjava/gnu/awt/xlib/XEventLoop.h75
-rw-r--r--libjava/gnu/awt/xlib/XEventQueue.h50
-rw-r--r--libjava/gnu/awt/xlib/XFontMetrics.h54
-rw-r--r--libjava/gnu/awt/xlib/XFontPeer.h73
-rw-r--r--libjava/gnu/awt/xlib/XFramePeer.h82
-rw-r--r--libjava/gnu/awt/xlib/XGraphics$XRaster.h53
-rw-r--r--libjava/gnu/awt/xlib/XGraphics.h92
-rw-r--r--libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache$PerDisplayCache$CacheEntry.h46
-rw-r--r--libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache$PerDisplayCache.h49
-rw-r--r--libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache.h52
-rw-r--r--libjava/gnu/awt/xlib/XGraphicsConfiguration.h103
-rw-r--r--libjava/gnu/awt/xlib/XGraphicsDevice.h53
-rw-r--r--libjava/gnu/awt/xlib/XGraphicsEnvironment.h60
-rw-r--r--libjava/gnu/awt/xlib/XOffScreenImage.h87
-rw-r--r--libjava/gnu/awt/xlib/XPanelPeer.h50
-rw-r--r--libjava/gnu/awt/xlib/XToolkit.h209
18 files changed, 1387 insertions, 0 deletions
diff --git a/libjava/gnu/awt/xlib/XCanvasPeer$DoMap.h b/libjava/gnu/awt/xlib/XCanvasPeer$DoMap.h
new file mode 100644
index 0000000..08498e1
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XCanvasPeer$DoMap.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XCanvasPeer$DoMap__
+#define __gnu_awt_xlib_XCanvasPeer$DoMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XCanvasPeer$DoMap;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Window;
+ }
+ }
+ }
+}
+
+class gnu::awt::xlib::XCanvasPeer$DoMap : public ::java::lang::Object
+{
+
+public:
+ XCanvasPeer$DoMap(::gnu::gcj::xlib::Window *);
+ virtual void run();
+public: // actually package-private
+ ::gnu::gcj::xlib::Window * __attribute__((aligned(__alignof__( ::java::lang::Object)))) window;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XCanvasPeer$DoMap__
diff --git a/libjava/gnu/awt/xlib/XCanvasPeer.h b/libjava/gnu/awt/xlib/XCanvasPeer.h
new file mode 100644
index 0000000..fb01c06
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XCanvasPeer.h
@@ -0,0 +1,156 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XCanvasPeer__
+#define __gnu_awt_xlib_XCanvasPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XCanvasPeer;
+ class XGraphicsConfiguration;
+ class XToolkit;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Window;
+ class WindowAttributes;
+ }
+ }
+ }
+ 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 Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ }
+ }
+ }
+}
+
+class gnu::awt::xlib::XCanvasPeer : public ::java::lang::Object
+{
+
+public:
+ XCanvasPeer(::java::awt::Component *);
+public: // actually package-private
+ virtual ::gnu::gcj::xlib::Window * locateParentWindow(::java::awt::Rectangle *);
+ virtual void initWindowProperties();
+ virtual ::gnu::awt::xlib::XToolkit * getXToolkit();
+public: // actually protected
+ virtual void ensureFlush();
+public:
+ virtual ::java::awt::Component * getComponent();
+public: // actually package-private
+ virtual jlong getBasicEventMask();
+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 dispose();
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual ::java::awt::Toolkit * getToolkit();
+ virtual void handleEvent(::java::awt::AWTEvent *);
+ virtual jboolean isFocusTraversable();
+ virtual void paint(::java::awt::Graphics *);
+ 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 setBackground(::java::awt::Color *);
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void reshape(jint, jint, jint, jint);
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual void setEnabled(jboolean);
+ virtual void enable();
+ virtual void disable();
+ virtual void setEventMask(jlong);
+ virtual void setFont(::java::awt::Font *);
+ virtual void setForeground(::java::awt::Color *);
+ virtual void setVisible(jboolean);
+ virtual void show();
+ virtual void hide();
+ virtual jboolean isFocusable();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong);
+ virtual jboolean isObscured();
+ virtual jboolean canDetermineObscurity();
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *);
+ virtual void updateCursorImmediately();
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint);
+ virtual jboolean handlesWheelScrolling();
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *);
+ virtual ::java::awt::Image * getBackBuffer();
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *);
+ virtual void destroyBuffers();
+ virtual jboolean isRestackSupported();
+ virtual void cancelPendingPaint(jint, jint, jint, jint);
+ virtual void restack();
+ 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();
+public: // actually package-private
+ static ::java::awt::Dimension * MIN_SIZE;
+public:
+ ::gnu::gcj::xlib::Window * __attribute__((aligned(__alignof__( ::java::lang::Object)))) window;
+public: // actually package-private
+ ::gnu::gcj::xlib::Window * parent;
+ ::java::awt::Component * component;
+ ::gnu::awt::xlib::XGraphicsConfiguration * config;
+private:
+ ::gnu::gcj::xlib::WindowAttributes * attributes;
+ jlong eventMask;
+ ::java::awt::Rectangle * locationBounds;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XCanvasPeer__
diff --git a/libjava/gnu/awt/xlib/XEventLoop.h b/libjava/gnu/awt/xlib/XEventLoop.h
new file mode 100644
index 0000000..0827f8a
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XEventLoop.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XEventLoop__
+#define __gnu_awt_xlib_XEventLoop__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ class LightweightRedirector;
+ namespace xlib
+ {
+ class XEventLoop;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Display;
+ class XAnyEvent;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Component;
+ class EventQueue;
+ }
+ }
+}
+
+class gnu::awt::xlib::XEventLoop : public ::java::lang::Object
+{
+
+public:
+ XEventLoop(::gnu::gcj::xlib::Display *, ::java::awt::EventQueue *);
+ virtual void run();
+public: // actually package-private
+ virtual jboolean postNextEvent(jboolean);
+public:
+ virtual ::java::awt::AWTEvent * getNextEvent(jboolean);
+public: // actually package-private
+ virtual jboolean loadNextEvent(jboolean);
+ virtual ::java::awt::AWTEvent * createEvent();
+ virtual ::java::awt::AWTEvent * createPaintEvent(::java::awt::Component *);
+ virtual ::java::awt::AWTEvent * createMouseEvent(jint, ::java::awt::Component *);
+ virtual void configureNotify(::java::lang::Object *);
+public:
+ virtual void flushIfIdle();
+public: // actually package-private
+ virtual void setIdle(jboolean);
+ virtual jboolean isIdle();
+ ::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display;
+ ::java::awt::EventQueue * queue;
+ ::gnu::gcj::xlib::XAnyEvent * anyEvent;
+private:
+ ::java::lang::Thread * eventLoopThread;
+public: // actually package-private
+ ::gnu::awt::LightweightRedirector * lightweightRedirector;
+ volatile jboolean idle;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XEventLoop__
diff --git a/libjava/gnu/awt/xlib/XEventQueue.h b/libjava/gnu/awt/xlib/XEventQueue.h
new file mode 100644
index 0000000..ca41be7
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XEventQueue.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XEventQueue__
+#define __gnu_awt_xlib_XEventQueue__
+
+#pragma interface
+
+#include <java/awt/EventQueue.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XEventQueue;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Display;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ }
+ }
+}
+
+class gnu::awt::xlib::XEventQueue : public ::java::awt::EventQueue
+{
+
+public:
+ XEventQueue(::gnu::gcj::xlib::Display *);
+ virtual ::java::awt::AWTEvent * getNextEvent();
+public: // actually package-private
+ ::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::awt::EventQueue)))) display;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XEventQueue__
diff --git a/libjava/gnu/awt/xlib/XFontMetrics.h b/libjava/gnu/awt/xlib/XFontMetrics.h
new file mode 100644
index 0000000..55b2189
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XFontMetrics.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XFontMetrics__
+#define __gnu_awt_xlib_XFontMetrics__
+
+#pragma interface
+
+#include <java/awt/FontMetrics.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XFontMetrics;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Font;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ }
+ }
+}
+
+class gnu::awt::xlib::XFontMetrics : public ::java::awt::FontMetrics
+{
+
+public:
+ XFontMetrics(::gnu::gcj::xlib::Font *, ::java::awt::Font *);
+ virtual jint getAscent();
+ virtual jint getDescent();
+ virtual jint getMaxAscent();
+ virtual jint getMaxDescent();
+ virtual jint stringWidth(::java::lang::String *);
+public: // actually package-private
+ ::gnu::gcj::xlib::Font * __attribute__((aligned(__alignof__( ::java::awt::FontMetrics)))) xfont;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XFontMetrics__
diff --git a/libjava/gnu/awt/xlib/XFontPeer.h b/libjava/gnu/awt/xlib/XFontPeer.h
new file mode 100644
index 0000000..7a7f6b7
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XFontPeer.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XFontPeer__
+#define __gnu_awt_xlib_XFontPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/ClasspathFontPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XFontPeer;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class FontMetrics;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ class LineMetrics;
+ }
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ namespace text
+ {
+ class CharacterIterator;
+ }
+ }
+}
+
+class gnu::awt::xlib::XFontPeer : public ::gnu::java::awt::peer::ClasspathFontPeer
+{
+
+public:
+ XFontPeer(::java::lang::String *, jint);
+ XFontPeer(::java::lang::String *, jint, jfloat);
+ virtual jboolean canDisplay(::java::awt::Font *, jchar);
+ 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::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::lang::String * getGlyphName(::java::awt::Font *, jint);
+ 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 jint getNumGlyphs(::java::awt::Font *);
+ virtual ::java::lang::String * getPostScriptName(::java::awt::Font *);
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
+ virtual ::java::lang::String * getSubFamilyName(::java::awt::Font *, ::java::util::Locale *);
+ virtual jboolean hasUniformLineMetrics(::java::awt::Font *);
+ virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XFontPeer__
diff --git a/libjava/gnu/awt/xlib/XFramePeer.h b/libjava/gnu/awt/xlib/XFramePeer.h
new file mode 100644
index 0000000..621d291
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XFramePeer.h
@@ -0,0 +1,82 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XFramePeer__
+#define __gnu_awt_xlib_XFramePeer__
+
+#pragma interface
+
+#include <gnu/awt/xlib/XCanvasPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XFramePeer;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Window;
+ class XConfigureEvent;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Frame;
+ class Image;
+ class Insets;
+ class MenuBar;
+ class Rectangle;
+ }
+ }
+}
+
+class gnu::awt::xlib::XFramePeer : public ::gnu::awt::xlib::XCanvasPeer
+{
+
+public:
+ XFramePeer(::java::awt::Frame *);
+public: // actually package-private
+ virtual ::gnu::gcj::xlib::Window * locateParentWindow(::java::awt::Rectangle *);
+ virtual void initWindowProperties();
+ virtual jlong getBasicEventMask();
+ virtual void configureNotify(::gnu::gcj::xlib::XConfigureEvent *);
+public:
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual ::java::awt::Insets * getInsets();
+ virtual ::java::awt::Insets * insets();
+ virtual void beginValidate();
+ virtual void endValidate();
+ virtual void toBack();
+ virtual void toFront();
+ virtual void setIconImage(::java::awt::Image *);
+ virtual void setMenuBar(::java::awt::MenuBar *);
+ virtual void setTitle(::java::lang::String *);
+ virtual void setResizable(jboolean);
+ virtual jint getState();
+ virtual void setState(jint);
+ virtual void setMaximizedBounds(::java::awt::Rectangle *);
+ virtual void beginLayout();
+ virtual void endLayout();
+ virtual jboolean isPaintPending();
+ virtual void setBoundsPrivate(jint, jint, jint, jint);
+ virtual void updateAlwaysOnTop();
+ virtual jboolean requestWindowFocus();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::gnu::awt::xlib::XCanvasPeer)))) processingConfigureNotify;
+public: // actually package-private
+ static ::java::awt::Insets * INSETS_0_PROTOTYPE;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XFramePeer__
diff --git a/libjava/gnu/awt/xlib/XGraphics$XRaster.h b/libjava/gnu/awt/xlib/XGraphics$XRaster.h
new file mode 100644
index 0000000..8183599
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XGraphics$XRaster.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XGraphics$XRaster__
+#define __gnu_awt_xlib_XGraphics$XRaster__
+
+#pragma interface
+
+#include <gnu/awt/j2d/MappedRaster.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XGraphics$XRaster;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class XImage;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::awt::xlib::XGraphics$XRaster : public ::gnu::awt::j2d::MappedRaster
+{
+
+public:
+ XGraphics$XRaster(::java::awt::image::WritableRaster *, ::gnu::gcj::xlib::XImage *, ::java::awt::image::ColorModel *);
+public: // actually package-private
+ ::gnu::gcj::xlib::XImage * __attribute__((aligned(__alignof__( ::gnu::awt::j2d::MappedRaster)))) ximage;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XGraphics$XRaster__
diff --git a/libjava/gnu/awt/xlib/XGraphics.h b/libjava/gnu/awt/xlib/XGraphics.h
new file mode 100644
index 0000000..4098ba4
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XGraphics.h
@@ -0,0 +1,92 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XGraphics__
+#define __gnu_awt_xlib_XGraphics__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace j2d
+ {
+ class MappedRaster;
+ }
+ namespace xlib
+ {
+ class XFontMetrics;
+ class XGraphics;
+ class XGraphicsConfiguration;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Drawable;
+ class GC;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Font;
+ class FontMetrics;
+ class Image;
+ class Rectangle;
+ class Shape;
+ namespace image
+ {
+ class ImageObserver;
+ }
+ }
+ }
+}
+
+class gnu::awt::xlib::XGraphics : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * clone();
+ virtual void dispose();
+ XGraphics(::gnu::gcj::xlib::Drawable *, ::gnu::awt::xlib::XGraphicsConfiguration *);
+ virtual void setColor(::java::awt::Color *);
+ virtual void setPaintMode();
+ virtual void setXORMode(::java::awt::Color *);
+ virtual void setFont(::java::awt::Font *);
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual void setClip(jint, jint, jint, jint);
+ virtual void setClip(::java::awt::Shape *);
+ virtual void copyArea(jint, jint, jint, jint, jint, jint);
+ virtual void drawLine(jint, jint, jint, jint);
+ virtual void drawRect(jint, jint, jint, jint);
+ virtual void fillRect(jint, jint, jint, jint);
+ virtual void drawArc(jint, jint, jint, jint, jint, jint);
+ virtual void fillArc(jint, jint, jint, jint, jint, jint);
+ virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint);
+ virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint);
+ virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint, jint, jint);
+ virtual void drawString(::java::lang::String *, jint, jint);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual ::gnu::awt::j2d::MappedRaster * mapRaster(::java::awt::Rectangle *);
+ virtual void unmapRaster(::gnu::awt::j2d::MappedRaster *);
+public: // actually package-private
+ ::gnu::gcj::xlib::GC * __attribute__((aligned(__alignof__( ::java::lang::Object)))) context;
+ ::gnu::awt::xlib::XGraphicsConfiguration * config;
+ ::java::awt::Rectangle * clipBounds;
+ ::gnu::awt::xlib::XFontMetrics * metrics;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XGraphics__
diff --git a/libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache$PerDisplayCache$CacheEntry.h b/libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache$PerDisplayCache$CacheEntry.h
new file mode 100644
index 0000000..42e3c8d
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache$PerDisplayCache$CacheEntry.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XGraphicsConfiguration$FontMetricsCache$PerDisplayCache$CacheEntry__
+#define __gnu_awt_xlib_XGraphicsConfiguration$FontMetricsCache$PerDisplayCache$CacheEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XFontMetrics;
+ class XGraphicsConfiguration$FontMetricsCache$PerDisplayCache;
+ class XGraphicsConfiguration$FontMetricsCache$PerDisplayCache$CacheEntry;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ }
+ }
+}
+
+class gnu::awt::xlib::XGraphicsConfiguration$FontMetricsCache$PerDisplayCache$CacheEntry : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XGraphicsConfiguration$FontMetricsCache$PerDisplayCache$CacheEntry(::gnu::awt::xlib::XGraphicsConfiguration$FontMetricsCache$PerDisplayCache *);
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) lruOrder;
+ ::gnu::awt::xlib::XFontMetrics * fm;
+ ::java::awt::Font * font;
+ ::gnu::awt::xlib::XGraphicsConfiguration$FontMetricsCache$PerDisplayCache * this$2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XGraphicsConfiguration$FontMetricsCache$PerDisplayCache$CacheEntry__
diff --git a/libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache$PerDisplayCache.h b/libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache$PerDisplayCache.h
new file mode 100644
index 0000000..8a236d6
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache$PerDisplayCache.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XGraphicsConfiguration$FontMetricsCache$PerDisplayCache__
+#define __gnu_awt_xlib_XGraphicsConfiguration$FontMetricsCache$PerDisplayCache__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XFontMetrics;
+ class XGraphicsConfiguration$FontMetricsCache;
+ class XGraphicsConfiguration$FontMetricsCache$PerDisplayCache;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ }
+ }
+}
+
+class gnu::awt::xlib::XGraphicsConfiguration$FontMetricsCache$PerDisplayCache : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XGraphicsConfiguration$FontMetricsCache$PerDisplayCache(::gnu::awt::xlib::XGraphicsConfiguration$FontMetricsCache *);
+ virtual ::gnu::awt::xlib::XFontMetrics * get(::java::awt::Font *);
+ virtual void put(::java::awt::Font *, ::gnu::awt::xlib::XFontMetrics *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) lruCount;
+ ::java::util::Hashtable * entries;
+public: // actually package-private
+ ::gnu::awt::xlib::XGraphicsConfiguration$FontMetricsCache * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XGraphicsConfiguration$FontMetricsCache$PerDisplayCache__
diff --git a/libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache.h b/libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache.h
new file mode 100644
index 0000000..53935f5
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XGraphicsConfiguration$FontMetricsCache.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XGraphicsConfiguration$FontMetricsCache__
+#define __gnu_awt_xlib_XGraphicsConfiguration$FontMetricsCache__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XFontMetrics;
+ class XGraphicsConfiguration$FontMetricsCache;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Display;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ }
+ }
+}
+
+class gnu::awt::xlib::XGraphicsConfiguration$FontMetricsCache : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XGraphicsConfiguration$FontMetricsCache();
+ virtual ::gnu::awt::xlib::XFontMetrics * get(::java::awt::Font *, ::gnu::gcj::xlib::Display *);
+ virtual void put(::java::awt::Font *, ::gnu::gcj::xlib::Display *, ::gnu::awt::xlib::XFontMetrics *);
+private:
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) displays;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XGraphicsConfiguration$FontMetricsCache__
diff --git a/libjava/gnu/awt/xlib/XGraphicsConfiguration.h b/libjava/gnu/awt/xlib/XGraphicsConfiguration.h
new file mode 100644
index 0000000..b7f53ef
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XGraphicsConfiguration.h
@@ -0,0 +1,103 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XGraphicsConfiguration__
+#define __gnu_awt_xlib_XGraphicsConfiguration__
+
+#pragma interface
+
+#include <java/awt/GraphicsConfiguration.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XFontMetrics;
+ class XGraphicsConfiguration;
+ class XGraphicsConfiguration$FontMetricsCache;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Colormap;
+ class Visual;
+ class XImage;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Font;
+ class GraphicsDevice;
+ class Point;
+ class Rectangle;
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class DataBuffer;
+ class VolatileImage;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::awt::xlib::XGraphicsConfiguration : public ::java::awt::GraphicsConfiguration
+{
+
+public:
+ XGraphicsConfiguration(::gnu::gcj::xlib::Visual *);
+ virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint);
+public: // actually package-private
+ virtual ::java::awt::image::WritableRaster * createRasterForXImage(::gnu::gcj::xlib::XImage *, ::java::awt::Point *);
+ static void attachData(::gnu::gcj::xlib::XImage *, ::java::awt::image::DataBuffer *, jint);
+ virtual void prepareColorModel(::gnu::gcj::xlib::XImage *);
+ virtual void calcZPixmapModels(jint);
+ virtual void calcDecomposedRGBModels(jint);
+ virtual void calcPseudoColorModels(jint);
+public:
+ virtual ::java::awt::GraphicsDevice * getDevice();
+ virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint, jint);
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint);
+ virtual ::java::awt::image::ColorModel * getColorModel();
+public: // actually package-private
+ virtual void preparePixelCM();
+public:
+ virtual ::java::awt::image::ColorModel * getColorModel(jint);
+ virtual ::java::awt::geom::AffineTransform * getDefaultTransform();
+ virtual ::java::awt::geom::AffineTransform * getNormalizingTransform();
+ virtual ::java::awt::Rectangle * getBounds();
+public: // actually package-private
+ virtual ::gnu::gcj::xlib::Visual * getVisual();
+ virtual ::gnu::awt::xlib::XFontMetrics * getXFontMetrics(::java::awt::Font *);
+ virtual jint getPixel(::java::awt::Color *);
+public:
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, jint);
+public: // actually package-private
+ ::gnu::gcj::xlib::Visual * __attribute__((aligned(__alignof__( ::java::awt::GraphicsConfiguration)))) visual;
+ jint format;
+ ::gnu::gcj::xlib::Colormap * colormap;
+ ::java::awt::image::ColorModel * imageCM;
+ ::java::awt::image::ColorModel * pixelCM;
+private:
+ static const jint CACHE_SIZE_PER_DISPLAY = 10;
+public: // actually package-private
+ static ::gnu::awt::xlib::XGraphicsConfiguration$FontMetricsCache * fontMetricsCache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XGraphicsConfiguration__
diff --git a/libjava/gnu/awt/xlib/XGraphicsDevice.h b/libjava/gnu/awt/xlib/XGraphicsDevice.h
new file mode 100644
index 0000000..d5dc2f1
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XGraphicsDevice.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XGraphicsDevice__
+#define __gnu_awt_xlib_XGraphicsDevice__
+
+#pragma interface
+
+#include <java/awt/GraphicsDevice.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XGraphicsDevice;
+ class XToolkit;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class GraphicsConfiguration;
+ }
+ }
+}
+
+class gnu::awt::xlib::XGraphicsDevice : public ::java::awt::GraphicsDevice
+{
+
+public:
+ virtual jint getType();
+ XGraphicsDevice(jint, ::gnu::awt::xlib::XToolkit *);
+ virtual ::java::lang::String * getIDstring();
+ virtual JArray< ::java::awt::GraphicsConfiguration * > * getConfigurations();
+ virtual ::java::awt::GraphicsConfiguration * getDefaultConfiguration();
+ virtual jboolean isDisplayChangeSupported();
+ virtual jboolean isFullScreenSupported();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::awt::GraphicsDevice)))) id;
+ ::java::lang::String * IDstring;
+ JArray< ::java::awt::GraphicsConfiguration * > * configs;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XGraphicsDevice__
diff --git a/libjava/gnu/awt/xlib/XGraphicsEnvironment.h b/libjava/gnu/awt/xlib/XGraphicsEnvironment.h
new file mode 100644
index 0000000..0f09087
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XGraphicsEnvironment.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XGraphicsEnvironment__
+#define __gnu_awt_xlib_XGraphicsEnvironment__
+
+#pragma interface
+
+#include <java/awt/GraphicsEnvironment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XGraphicsDevice;
+ class XGraphicsEnvironment;
+ class XToolkit;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Graphics2D;
+ class GraphicsDevice;
+ namespace image
+ {
+ class BufferedImage;
+ }
+ }
+ }
+}
+
+class gnu::awt::xlib::XGraphicsEnvironment : public ::java::awt::GraphicsEnvironment
+{
+
+public: // actually package-private
+ XGraphicsEnvironment(::gnu::awt::xlib::XToolkit *);
+public:
+ virtual JArray< ::java::awt::GraphicsDevice * > * getScreenDevices();
+ virtual ::java::awt::GraphicsDevice * getDefaultScreenDevice();
+ virtual ::java::awt::Graphics2D * createGraphics(::java::awt::image::BufferedImage *);
+ virtual JArray< ::java::awt::Font * > * getAllFonts();
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *);
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames();
+private:
+ ::gnu::awt::xlib::XToolkit * __attribute__((aligned(__alignof__( ::java::awt::GraphicsEnvironment)))) toolkit;
+ JArray< ::gnu::awt::xlib::XGraphicsDevice * > * devices;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XGraphicsEnvironment__
diff --git a/libjava/gnu/awt/xlib/XOffScreenImage.h b/libjava/gnu/awt/xlib/XOffScreenImage.h
new file mode 100644
index 0000000..73ca8bf
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XOffScreenImage.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XOffScreenImage__
+#define __gnu_awt_xlib_XOffScreenImage__
+
+#pragma interface
+
+#include <java/awt/Image.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XGraphicsConfiguration;
+ class XOffScreenImage;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Drawable;
+ class GC;
+ class Pixmap;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class GraphicsConfiguration;
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ }
+ }
+ }
+}
+
+class gnu::awt::xlib::XOffScreenImage : public ::java::awt::Image
+{
+
+public: // actually package-private
+ XOffScreenImage(::gnu::awt::xlib::XGraphicsConfiguration *, ::gnu::gcj::xlib::Drawable *, jint, jint, ::java::awt::image::ColorModel *);
+ XOffScreenImage(::gnu::awt::xlib::XGraphicsConfiguration *, ::gnu::gcj::xlib::Drawable *, ::java::awt::image::ImageProducer *, ::java::awt::image::ColorModel *);
+public:
+ virtual ::gnu::gcj::xlib::Pixmap * getPixmap();
+ virtual void flush();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual jint getHeight(::java::awt::image::ImageObserver *);
+ virtual jint getHeight();
+ virtual ::java::awt::image::ImageProducer * getSource();
+ virtual jint getWidth(::java::awt::image::ImageObserver *);
+ virtual jint getWidth();
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
+ 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< jint > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setProperties(::java::util::Hashtable *);
+private:
+ ::gnu::gcj::xlib::Pixmap * __attribute__((aligned(__alignof__( ::java::awt::Image)))) pixmap;
+ ::gnu::awt::xlib::XGraphicsConfiguration * config;
+ jint width;
+ jint height;
+ ::gnu::gcj::xlib::Drawable * drawable;
+ ::java::awt::image::ImageProducer * prod;
+ ::gnu::gcj::xlib::GC * gc;
+ ::java::awt::image::ColorModel * pixmapColorModel;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XOffScreenImage__
diff --git a/libjava/gnu/awt/xlib/XPanelPeer.h b/libjava/gnu/awt/xlib/XPanelPeer.h
new file mode 100644
index 0000000..4fcc0c7
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XPanelPeer.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XPanelPeer__
+#define __gnu_awt_xlib_XPanelPeer__
+
+#pragma interface
+
+#include <gnu/awt/xlib/XCanvasPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XPanelPeer;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Insets;
+ class Panel;
+ }
+ }
+}
+
+class gnu::awt::xlib::XPanelPeer : public ::gnu::awt::xlib::XCanvasPeer
+{
+
+public:
+ XPanelPeer(::java::awt::Panel *);
+ virtual ::java::awt::Insets * getInsets();
+ virtual ::java::awt::Insets * insets();
+ virtual void beginValidate();
+ virtual void endValidate();
+ virtual void beginLayout();
+ virtual void endLayout();
+ virtual jboolean isPaintPending();
+public: // actually package-private
+ static ::java::awt::Insets * INSETS_0_PROTOTYPE;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XPanelPeer__
diff --git a/libjava/gnu/awt/xlib/XToolkit.h b/libjava/gnu/awt/xlib/XToolkit.h
new file mode 100644
index 0000000..7bfc61e
--- /dev/null
+++ b/libjava/gnu/awt/xlib/XToolkit.h
@@ -0,0 +1,209 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_awt_xlib_XToolkit__
+#define __gnu_awt_xlib_XToolkit__
+
+#pragma interface
+
+#include <gnu/java/awt/ClasspathToolkit.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace awt
+ {
+ namespace xlib
+ {
+ class XEventLoop;
+ class XGraphicsConfiguration;
+ class XToolkit;
+ }
+ }
+ namespace gcj
+ {
+ namespace xlib
+ {
+ class Display;
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class EmbeddedWindow;
+ namespace peer
+ {
+ class ClasspathFontPeer;
+ class EmbeddedWindowPeer;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ class Canvas;
+ class Checkbox;
+ class CheckboxMenuItem;
+ class Choice;
+ class Component;
+ class Dialog;
+ 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 PopupMenu;
+ class PrintJob;
+ 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 PanelPeer;
+ class PopupMenuPeer;
+ class RobotPeer;
+ class ScrollPanePeer;
+ class ScrollbarPeer;
+ class TextAreaPeer;
+ class TextFieldPeer;
+ class WindowPeer;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::awt::xlib::XToolkit : public ::gnu::java::awt::ClasspathToolkit
+{
+
+public:
+ XToolkit();
+ virtual void flushIfIdle();
+public: // actually protected
+ virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *);
+ virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *);
+ virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *);
+ virtual ::java::awt::peer::ListPeer * createList(::java::awt::List *);
+ virtual ::java::awt::peer::CheckboxPeer * createCheckbox(::java::awt::Checkbox *);
+ virtual ::java::awt::peer::ScrollbarPeer * createScrollbar(::java::awt::Scrollbar *);
+ virtual ::java::awt::peer::ScrollPanePeer * createScrollPane(::java::awt::ScrollPane *);
+ virtual ::java::awt::peer::TextAreaPeer * createTextArea(::java::awt::TextArea *);
+ virtual ::java::awt::peer::ChoicePeer * createChoice(::java::awt::Choice *);
+ virtual ::java::awt::peer::FramePeer * createFrame(::java::awt::Frame *);
+ virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *);
+ virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *);
+ virtual ::java::awt::peer::WindowPeer * createWindow(::java::awt::Window *);
+ virtual ::java::awt::peer::DialogPeer * createDialog(::java::awt::Dialog *);
+ virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *);
+ virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *);
+ virtual ::java::awt::peer::PopupMenuPeer * createPopupMenu(::java::awt::PopupMenu *);
+ virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *);
+ virtual ::java::awt::peer::FileDialogPeer * createFileDialog(::java::awt::FileDialog *);
+ virtual ::java::awt::peer::CheckboxMenuItemPeer * createCheckboxMenuItem(::java::awt::CheckboxMenuItem *);
+ virtual ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint);
+public:
+ virtual ::java::awt::Dimension * getScreenSize();
+ virtual jint getScreenResolution();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual JArray< ::java::lang::String * > * getFontList();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual void sync();
+ virtual ::java::awt::Image * getImage(::java::lang::String *);
+ virtual ::java::awt::Image * getImage(::java::net::URL *);
+ virtual ::java::awt::Image * createImage(::java::lang::String *);
+ virtual ::java::awt::Image * createImage(::java::net::URL *);
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ 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(JArray< jbyte > *, jint, jint);
+ virtual void beep();
+ virtual ::java::awt::datatransfer::Clipboard * getSystemClipboard();
+public: // actually protected
+ virtual ::java::awt::EventQueue * getSystemEventQueueImpl();
+public:
+ virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *);
+public: // actually package-private
+ virtual ::gnu::awt::xlib::XGraphicsConfiguration * getDefaultXGraphicsConfiguration();
+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::GraphicsEnvironment * getLocalGraphicsEnvironment();
+ virtual ::gnu::java::awt::peer::ClasspathFontPeer * getClasspathFontPeer(::java::lang::String *, ::java::util::Map *);
+ virtual ::java::awt::Font * createFont(jint, ::java::io::InputStream *);
+ virtual ::java::awt::peer::RobotPeer * createRobot(::java::awt::GraphicsDevice *);
+ virtual ::gnu::java::awt::peer::EmbeddedWindowPeer * createEmbeddedWindow(::gnu::java::awt::EmbeddedWindow *);
+ virtual jboolean nativeQueueEmpty();
+ virtual void wakeNativeQueue();
+ virtual void iterateNativeQueue(::java::awt::EventQueue *, jboolean);
+public: // actually package-private
+ static ::gnu::awt::xlib::XToolkit * INSTANCE;
+ ::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::gnu::java::awt::ClasspathToolkit)))) display;
+ ::java::awt::EventQueue * queue;
+ ::gnu::awt::xlib::XEventLoop * eventLoop;
+ ::gnu::awt::xlib::XGraphicsConfiguration * defaultConfig;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_awt_xlib_XToolkit__