*.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
This commit is contained in:
Tom Tromey 2007-01-11 00:15:27 +00:00 committed by Tom Tromey
parent eee96b1bb0
commit a6ec93973c
83 changed files with 2646 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2007-01-10 Tom Tromey <tromey@redhat.com>
* 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.
2007-01-10 Tom Tromey <tromey@redhat.com>
* HACKING: Various updates.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -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__

View File

@ -0,0 +1,50 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_Clip__
#define __gnu_gcj_xlib_Clip__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class Clip;
}
}
}
namespace java
{
namespace awt
{
class Rectangle;
}
}
}
class gnu::gcj::xlib::Clip : public ::java::lang::Object
{
public:
Clip(JArray< ::java::awt::Rectangle * > *);
private:
void init(JArray< ::java::awt::Rectangle * > *);
public:
void finalize();
void dispose();
public: // actually package-private
::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::lang::Object)))) xrects;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_Clip__

View File

@ -0,0 +1,47 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_Colormap__
#define __gnu_gcj_xlib_Colormap__
#pragma interface
#include <gnu/gcj/xlib/XID.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class Colormap;
class Screen;
class XColor;
}
}
}
}
class gnu::gcj::xlib::Colormap : public ::gnu::gcj::xlib::XID
{
public:
Colormap(::gnu::gcj::xlib::Screen *, jint);
jlong allocateColorPixel(::gnu::gcj::xlib::XColor *);
::gnu::gcj::xlib::XColor * allocateColor(jint, jint, jint);
JArray< ::gnu::gcj::xlib::XColor * > * getSharedColors();
JArray< ::gnu::gcj::xlib::XColor * > * getXColors();
private:
JArray< ::gnu::gcj::xlib::XColor * > * newXColorArray(jint);
public: // actually package-private
::gnu::gcj::xlib::Screen * __attribute__((aligned(__alignof__( ::gnu::gcj::xlib::XID)))) screen;
public:
static const jbyte FLAG_SHARED = 1;
static const jbyte FLAG_NOT_SHARED = 2;
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_Colormap__

View File

@ -0,0 +1,64 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_Display__
#define __gnu_gcj_xlib_Display__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class Display;
class Screen;
class Window;
class XID;
}
}
}
}
class gnu::gcj::xlib::Display : public ::java::lang::Object
{
public:
Display();
private:
static void staticInit();
void init();
public: // actually protected
virtual void finalize();
virtual void addXID(jint, ::gnu::gcj::xlib::XID *);
virtual void removeXID(jint);
public:
virtual ::gnu::gcj::xlib::Window * getDefaultRootWindow();
virtual ::gnu::gcj::xlib::XID * getXID(jint);
virtual ::gnu::gcj::xlib::Window * getWindow(jint);
virtual ::gnu::gcj::xlib::Screen * getDefaultScreen();
virtual jint getDefaultScreenNumber();
private:
jint getDefaultRootWindowXID();
public:
virtual jint getAtom(::java::lang::String *);
virtual ::java::lang::String * getAtomName(jint);
private:
jint internAtom(::java::lang::String *);
public:
virtual void flush();
public: // actually package-private
::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display;
private:
::java::util::Dictionary * xids;
::java::util::Dictionary * atoms;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_Display__

View File

@ -0,0 +1,60 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_Drawable__
#define __gnu_gcj_xlib_Drawable__
#pragma interface
#include <gnu/gcj/xlib/XID.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class Display;
class Drawable;
class GC;
class XImage;
}
}
}
namespace java
{
namespace awt
{
class Rectangle;
}
}
}
class gnu::gcj::xlib::Drawable : public ::gnu::gcj::xlib::XID
{
public:
Drawable(::gnu::gcj::xlib::Display *, jint);
virtual ::java::awt::Rectangle * copyIntoXImage(::gnu::gcj::xlib::XImage *, ::java::awt::Rectangle *, jint, jint);
private:
jboolean copyIntoXImageImpl(::gnu::gcj::xlib::XImage *, jint, jint, jint, jint, jint, jint);
public:
virtual ::java::awt::Rectangle * getBounds(::java::awt::Rectangle *);
virtual jint getDepth();
public: // actually protected
virtual void finalize();
public: // actually package-private
virtual void putGCInCache(::gnu::gcj::xlib::GC *);
virtual ::gnu::gcj::xlib::GC * getGCFromCache();
private:
JArray< ::gnu::gcj::xlib::GC * > * __attribute__((aligned(__alignof__( ::gnu::gcj::xlib::XID)))) gcCache;
jint gcCachedCount;
static ::java::lang::String * MSG_XGETSUBIMAGE_FAILED;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_Drawable__

View File

@ -0,0 +1,50 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_Font__
#define __gnu_gcj_xlib_Font__
#pragma interface
#include <gnu/gcj/xlib/XID.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class Display;
class Font;
}
}
}
}
class gnu::gcj::xlib::Font : public ::gnu::gcj::xlib::XID
{
public:
Font(::gnu::gcj::xlib::Display *, ::java::lang::String *);
public: // actually package-private
Font(::gnu::gcj::xlib::Display *, ::gnu::gcj::RawData *);
static ::gnu::gcj::RawData * loadFont(::gnu::gcj::xlib::Display *, ::java::lang::String *);
static ::gnu::gcj::RawData * loadFontImpl(::gnu::gcj::xlib::Display *, ::java::lang::String *);
static jint getXIDFromStruct(::gnu::gcj::RawData *);
public:
jint getAscent();
jint getDescent();
jint getMaxAscent();
jint getMaxDescent();
jint getStringWidth(::java::lang::String *);
public: // actually protected
void finalize();
public: // actually package-private
::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::gnu::gcj::xlib::XID)))) structure;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_Font__

76
libjava/gnu/gcj/xlib/GC.h Normal file
View File

@ -0,0 +1,76 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_GC__
#define __gnu_gcj_xlib_GC__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class Drawable;
class Font;
class GC;
class XImage;
}
}
}
namespace java
{
namespace awt
{
class Rectangle;
}
}
}
class gnu::gcj::xlib::GC : public ::java::lang::Object
{
public: // actually protected
GC(::gnu::gcj::xlib::Drawable *);
public:
virtual ::java::lang::Object * clone();
private:
void initStructure(::gnu::gcj::xlib::GC *);
public:
virtual ::gnu::gcj::xlib::GC * create();
static ::gnu::gcj::xlib::GC * create(::gnu::gcj::xlib::Drawable *);
virtual void finalize();
virtual void dispose();
virtual void disposeImpl();
virtual void setForeground(jlong);
virtual void setFont(::gnu::gcj::xlib::Font *);
virtual void setClipRectangles(JArray< ::java::awt::Rectangle * > *);
virtual void drawString(::java::lang::String *, jint, jint);
virtual void drawLine(jint, jint, jint, jint);
virtual void drawRectangle(jint, jint, jint, jint);
virtual void fillRectangle(jint, jint, jint, jint);
virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint, jint, jint);
virtual void drawArc(jint, jint, jint, jint, jint, jint);
virtual void fillArc(jint, jint, jint, jint, jint, jint);
virtual void clearArea(jint, jint, jint, jint, jboolean);
virtual void drawPoint(jint, jint);
virtual void putImage(::gnu::gcj::xlib::XImage *, jint, jint, jint, jint, jint, jint);
virtual void copyArea(::gnu::gcj::xlib::Drawable *, jint, jint, jint, jint, jint, jint);
virtual ::gnu::gcj::xlib::Drawable * getDrawable();
private:
void updateClip(JArray< ::java::awt::Rectangle * > *);
::gnu::gcj::xlib::Drawable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
::gnu::gcj::RawData * structure;
JArray< ::java::awt::Rectangle * > * clipRectangles;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_GC__

View File

@ -0,0 +1,40 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_Pixmap__
#define __gnu_gcj_xlib_Pixmap__
#pragma interface
#include <gnu/gcj/xlib/Drawable.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class Drawable;
class Pixmap;
class Screen;
class XImage;
}
}
}
}
class gnu::gcj::xlib::Pixmap : public ::gnu::gcj::xlib::Drawable
{
public:
Pixmap(::gnu::gcj::xlib::XImage *, ::gnu::gcj::xlib::Screen *);
Pixmap(::gnu::gcj::xlib::Drawable *, jint, jint, jint);
public: // actually protected
static jint createXID(::gnu::gcj::xlib::Drawable *, jint, jint, jint);
virtual void finalize();
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_Pixmap__

View File

@ -0,0 +1,61 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_Screen__
#define __gnu_gcj_xlib_Screen__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class Colormap;
class Display;
class Screen;
class Visual;
class Window;
}
}
}
}
class gnu::gcj::xlib::Screen : public ::java::lang::Object
{
public: // actually package-private
Screen(::gnu::gcj::xlib::Display *, ::gnu::gcj::RawData *);
public:
Screen(::gnu::gcj::xlib::Display *);
Screen(::gnu::gcj::xlib::Display *, jint);
::gnu::gcj::xlib::Display * getDisplay();
::gnu::gcj::xlib::Window * getRootWindow();
::gnu::gcj::xlib::Visual * getRootVisual();
private:
::gnu::gcj::RawData * getRootVisualStructure();
public:
jint getRootDepth();
jint getRootWindowXID();
jint getDefaultColormapXID();
public: // actually package-private
void initStructure();
public:
::gnu::gcj::xlib::Colormap * getDefaultColormap();
jint getScreenNumber();
jint findScreenNumber();
public: // actually package-private
static const jint UNKNOWN = -1;
::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display;
jint screenNumber;
::gnu::gcj::RawData * structure;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_Screen__

View File

@ -0,0 +1,79 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_Visual__
#define __gnu_gcj_xlib_Visual__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class Display;
class Screen;
class Visual;
}
}
}
}
class gnu::gcj::xlib::Visual : public ::java::lang::Object
{
public: // actually package-private
Visual(::gnu::gcj::RawData *, ::gnu::gcj::xlib::Screen *, jint);
Visual(::gnu::gcj::xlib::Display *, ::gnu::gcj::RawData *, jint);
public: // actually protected
void init(::gnu::gcj::RawData *, jint);
void finalize();
public: // actually package-private
::gnu::gcj::RawData * getVisualStructure();
public:
jint getRedMask();
jint getGreenMask();
jint getBlueMask();
jint getScreenNumber();
jint getDepth();
::gnu::gcj::xlib::Screen * getScreen();
jint getVisualClass();
jboolean hasRGBSubfields();
public: // actually protected
void ensureXVisualInfo(jint);
public:
::java::lang::String * toString();
static const jint VC_STATIC_GRAY = 0;
static const jint VC_GRAY_SCALE = 1;
static const jint VC_STATIC_COLOR = 2;
static const jint VC_PSEUDO_COLOR = 3;
static const jint VC_TRUE_COLOR = 4;
static const jint VC_DIRECT_COLOR = 5;
public: // actually protected
static const jint MASK_ID = 1;
static const jint MASK_SCREEN = 2;
static const jint MASK_DEPTH = 4;
static const jint MASK_CLASS = 8;
static const jint MASK_RED = 16;
static const jint MASK_GREEN = 32;
static const jint MASK_BLUE = 64;
static const jint MASK_COLORMAP_SIZE = 128;
static const jint MASK_BITS_PER_RGB = 256;
static const jint MASK_ALL = 511;
private:
static const jint MASK_VISUAL_STRUCTURE = -2147483647 - 1;
public: // actually package-private
::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display;
::gnu::gcj::RawData * xVisualInfo;
jint infoMask;
::gnu::gcj::xlib::Screen * screen;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_Visual__

View File

@ -0,0 +1,46 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_WMSizeHints__
#define __gnu_gcj_xlib_WMSizeHints__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class WMSizeHints;
class Window;
}
}
}
}
class gnu::gcj::xlib::WMSizeHints : public ::java::lang::Object
{
public:
WMSizeHints();
private:
void init(::gnu::gcj::xlib::WMSizeHints *);
public: // actually protected
virtual void finalize();
public:
virtual ::java::lang::Object * clone();
virtual void applyNormalHints(::gnu::gcj::xlib::Window *);
virtual void setMinSize(jint, jint);
virtual void setMaxSize(jint, jint);
public: // actually package-private
::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::lang::Object)))) structure;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_WMSizeHints__

View File

@ -0,0 +1,69 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_Window__
#define __gnu_gcj_xlib_Window__
#pragma interface
#include <gnu/gcj/xlib/Drawable.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class Display;
class Visual;
class Window;
class WindowAttributes;
}
}
}
namespace java
{
namespace awt
{
class Rectangle;
}
}
}
class gnu::gcj::xlib::Window : public ::gnu::gcj::xlib::Drawable
{
public:
Window(::gnu::gcj::xlib::Window *, ::java::awt::Rectangle *, ::gnu::gcj::xlib::WindowAttributes *);
Window(::gnu::gcj::xlib::Window *, ::java::awt::Rectangle *, ::gnu::gcj::xlib::WindowAttributes *, ::gnu::gcj::xlib::Visual *);
Window(::gnu::gcj::xlib::Window *, ::java::awt::Rectangle *, jint, ::gnu::gcj::xlib::WindowAttributes *, jint, ::gnu::gcj::xlib::Visual *);
public: // actually protected
Window(::gnu::gcj::xlib::Display *, jint);
virtual void finalize();
virtual void destroy();
virtual jint createChildXID(::java::awt::Rectangle *, jint, ::gnu::gcj::xlib::WindowAttributes *, jint, ::gnu::gcj::xlib::Visual *);
public:
virtual void setAttributes(::gnu::gcj::xlib::WindowAttributes *);
virtual void map();
virtual void unmap();
virtual void toFront();
virtual void toBack();
virtual void setProperty(jint, jint, JArray< jbyte > *);
virtual void setProperty(jint, jint, ::java::lang::String *);
virtual void setWMProtocols(JArray< jint > *);
virtual JArray< jint > * getWMProtocols();
virtual void setProperty(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
virtual void setBounds(jint, jint, jint, jint);
static const jint COPY_FROM_PARENT = 0;
static const jint INPUT_OUTPUT = 1;
static const jint INPUT_ONLY = 2;
public: // actually protected
jboolean __attribute__((aligned(__alignof__( ::gnu::gcj::xlib::Drawable)))) owned;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_Window__

View File

@ -0,0 +1,66 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_WindowAttributes__
#define __gnu_gcj_xlib_WindowAttributes__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class Display;
class Pixmap;
class Visual;
class Window;
class WindowAttributes;
}
}
}
}
class gnu::gcj::xlib::WindowAttributes : public ::java::lang::Object
{
public:
WindowAttributes();
WindowAttributes(::gnu::gcj::xlib::Window *);
private:
void initFromWindow(::gnu::gcj::xlib::Window *);
void init(::gnu::gcj::xlib::WindowAttributes *);
public: // actually protected
virtual void finalize();
public:
virtual ::java::lang::Object * clone();
virtual void setBackground(jlong);
virtual void setBackground(::gnu::gcj::xlib::Pixmap *);
virtual void setEventMask(jlong);
virtual void setVisual(::gnu::gcj::xlib::Visual *);
virtual ::gnu::gcj::xlib::Visual * getVisual();
virtual void apply(::gnu::gcj::xlib::Window *);
public: // actually package-private
virtual ::gnu::gcj::RawData * getXSetWindowAttributesStructure();
virtual void initOut();
public:
static const jlong MASK_BUTTON_PRESS = 4LL;
static const jlong MASK_BUTTON_RELEASE = 8LL;
static const jlong MASK_EXPOSURE = 32768LL;
static const jlong MASK_STRUCTURE_NOTIFY = 131072LL;
public: // actually package-private
::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display;
::gnu::gcj::RawData * in;
::gnu::gcj::RawData * out;
jlong mask;
::gnu::gcj::xlib::Visual * visual;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_WindowAttributes__

View File

@ -0,0 +1,89 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XAnyEvent__
#define __gnu_gcj_xlib_XAnyEvent__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class Display;
class Window;
class XAnyEvent;
}
}
}
}
class gnu::gcj::xlib::XAnyEvent : public ::java::lang::Object
{
public:
XAnyEvent(::gnu::gcj::xlib::Display *);
private:
void init();
public: // actually protected
void finalize();
public:
jboolean loadNext(jboolean);
void interrupt();
jint getType();
void setType(jint);
::gnu::gcj::xlib::Window * getWindow();
void setWindow(::gnu::gcj::xlib::Window *);
jlong getSerial();
void send(::gnu::gcj::xlib::Window *, jboolean, jlong);
::java::lang::String * toString();
static const jint TYPE_KEY_PRESS = 2;
static const jint TYPE_KEY_RELEASE = 3;
static const jint TYPE_BUTTON_PRESS = 4;
static const jint TYPE_BUTTON_RELEASE = 5;
static const jint TYPE_MOTION_NOTIFY = 6;
static const jint TYPE_ENTER_NOTIFY = 7;
static const jint TYPE_LEAVE_NOTIFY = 8;
static const jint TYPE_FOCUS_IN = 9;
static const jint TYPE_FOCUS_OUT = 10;
static const jint TYPE_KEYMAP_NOTIFY = 11;
static const jint TYPE_EXPOSE = 12;
static const jint TYPE_GRAPHICS_EXPOSE = 13;
static const jint TYPE_NO_EXPOSE = 14;
static const jint TYPE_VISIBILITY_NOTIFY = 15;
static const jint TYPE_CREATE_NOTIFY = 16;
static const jint TYPE_DESTROY_NOTIFY = 17;
static const jint TYPE_UNMAP_NOTIFY = 18;
static const jint TYPE_MAP_NOTIFY = 19;
static const jint TYPE_MAP_REQUEST = 20;
static const jint TYPE_REPARENT_NOTIFY = 21;
static const jint TYPE_CONFIGURE_NOTIFY = 22;
static const jint TYPE_CONFIGURE_REQUEST = 23;
static const jint TYPE_GRAVITY_NOTIFY = 24;
static const jint TYPE_RESIZE_REQUEST = 25;
static const jint TYPE_CIRCULATE_NOTIFY = 26;
static const jint TYPE_CIRCULATE_REQUEST = 27;
static const jint TYPE_PROPERTY_NOTIFY = 28;
static const jint TYPE_SELECTION_CLEAR = 29;
static const jint TYPE_SELECTION_REQUEST = 30;
static const jint TYPE_SELECTION_NOTIFY = 31;
static const jint TYPE_COLORMAP_NOTIFY = 32;
static const jint TYPE_CLIENT_MESSAGE = 33;
static const jint TYPE_MAPPING_NOTIFY = 34;
static const jlong MASK_SUBSTRUCTURE_NOTIFY = 524288LL;
static const jlong MASK_SUBSTRUCTURE_REDIRECT = 1048576LL;
public: // actually package-private
::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pipefds;
::gnu::gcj::RawData * structure;
::gnu::gcj::xlib::Display * display;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XAnyEvent__

View File

@ -0,0 +1,49 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XButtonEvent__
#define __gnu_gcj_xlib_XButtonEvent__
#pragma interface
#include <gnu/gcj/xlib/XEvent.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class XAnyEvent;
class XButtonEvent;
}
}
}
}
class gnu::gcj::xlib::XButtonEvent : public ::gnu::gcj::xlib::XEvent
{
public:
XButtonEvent(::gnu::gcj::xlib::XAnyEvent *);
public: // actually package-private
virtual void init();
public:
static const jint MASK_SHIFT = 1;
static const jint MASK_LOCK = 2;
static const jint MASK_CONTROL = 4;
static const jint MASK_MOD1 = 8;
static const jint MASK_MOD2 = 16;
static const jint MASK_MOD3 = 32;
static const jint MASK_MOD4 = 64;
static const jint MASK_MOD5 = 128;
jlong __attribute__((aligned(__alignof__( ::gnu::gcj::xlib::XEvent)))) time;
jint x;
jint y;
jint state;
jint button;
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XButtonEvent__

View File

@ -0,0 +1,48 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XColor__
#define __gnu_gcj_xlib_XColor__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class XColor;
}
}
}
}
class gnu::gcj::xlib::XColor : public ::java::lang::Object
{
public:
XColor(jint, jint, jint);
XColor();
private:
void init();
public: // actually protected
void finalize();
public:
void setRGB(jint, jint, jint);
jint getRed();
jint getGreen();
jint getBlue();
jbyte getFlags();
jlong getPixelValue();
public: // actually package-private
::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::lang::Object)))) structure;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XColor__

View File

@ -0,0 +1,41 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XConfigureEvent__
#define __gnu_gcj_xlib_XConfigureEvent__
#pragma interface
#include <gnu/gcj/xlib/XEvent.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class XAnyEvent;
class XConfigureEvent;
}
}
}
namespace java
{
namespace awt
{
class Rectangle;
}
}
}
class gnu::gcj::xlib::XConfigureEvent : public ::gnu::gcj::xlib::XEvent
{
public:
XConfigureEvent(::gnu::gcj::xlib::XAnyEvent *);
virtual ::java::awt::Rectangle * getBounds();
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XConfigureEvent__

View File

@ -0,0 +1,33 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XConnectException__
#define __gnu_gcj_xlib_XConnectException__
#pragma interface
#include <java/io/IOException.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class XConnectException;
}
}
}
}
class gnu::gcj::xlib::XConnectException : public ::java::io::IOException
{
public:
XConnectException();
XConnectException(::java::lang::String *);
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XConnectException__

View File

@ -0,0 +1,40 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XEvent__
#define __gnu_gcj_xlib_XEvent__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class Display;
class XAnyEvent;
class XEvent;
}
}
}
}
class gnu::gcj::xlib::XEvent : public ::java::lang::Object
{
public:
XEvent(::gnu::gcj::xlib::XAnyEvent *);
XEvent(jint, ::gnu::gcj::xlib::Display *);
virtual ::gnu::gcj::xlib::XAnyEvent * getXAnyEvent();
virtual ::java::lang::String * toString();
public: // actually package-private
::gnu::gcj::xlib::XAnyEvent * __attribute__((aligned(__alignof__( ::java::lang::Object)))) event;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XEvent__

View File

@ -0,0 +1,38 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XException__
#define __gnu_gcj_xlib_XException__
#pragma interface
#include <java/lang/RuntimeException.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class Display;
class XException;
}
}
}
}
class gnu::gcj::xlib::XException : public ::java::lang::RuntimeException
{
public:
XException();
XException(::java::lang::String *);
XException(::gnu::gcj::xlib::Display *, jint);
public: // actually package-private
static ::java::lang::String * toString(::gnu::gcj::xlib::Display *, jint);
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XException__

View File

@ -0,0 +1,41 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XExposeEvent__
#define __gnu_gcj_xlib_XExposeEvent__
#pragma interface
#include <gnu/gcj/xlib/XEvent.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class XAnyEvent;
class XExposeEvent;
}
}
}
namespace java
{
namespace awt
{
class Rectangle;
}
}
}
class gnu::gcj::xlib::XExposeEvent : public ::gnu::gcj::xlib::XEvent
{
public:
XExposeEvent(::gnu::gcj::xlib::XAnyEvent *);
virtual ::java::awt::Rectangle * getBounds();
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XExposeEvent__

View File

@ -0,0 +1,47 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XID__
#define __gnu_gcj_xlib_XID__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class Display;
class XID;
}
}
}
}
class gnu::gcj::xlib::XID : public ::java::lang::Object
{
public:
XID(::gnu::gcj::xlib::Display *, jint);
virtual jint getXID();
virtual ::gnu::gcj::xlib::Display * getDisplay();
virtual ::java::lang::Object * getClientData();
virtual void setClientData(::java::lang::Object *);
public: // actually protected
virtual ::java::lang::String * params();
public:
virtual ::java::lang::String * toString();
public: // actually protected
::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display;
jint xid;
private:
::java::lang::Object * clientData;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XID__

View File

@ -0,0 +1,82 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XImage__
#define __gnu_gcj_xlib_XImage__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
namespace xlib
{
class Visual;
class XImage;
}
}
}
}
class gnu::gcj::xlib::XImage : public ::java::lang::Object
{
public:
XImage(::gnu::gcj::xlib::Visual *, jint, jint, jint, jint, jint, jint, jint);
XImage(::gnu::gcj::xlib::Visual *, jint, jint, jint, jint, jint, jint, jint, jint);
virtual void init(::gnu::gcj::xlib::Visual *, jint, jint, jint, jint, jint, jint, jint, jint);
private:
void init(::gnu::gcj::xlib::Visual *, jint, jint);
public:
XImage(::gnu::gcj::xlib::Visual *, jint, jint);
XImage(::gnu::gcj::xlib::Visual *, jint, jint, jboolean);
virtual void setData(JArray< jbyte > *, jint);
virtual void setData(JArray< jshort > *, jint);
virtual void setData(JArray< jint > *, jint);
private:
void internalSetData(JArray< jbyte > *, jint);
void internalSetData(JArray< jshort > *, jint);
void internalSetData(JArray< jint > *, jint);
public: // actually protected
virtual void finalize();
public:
virtual jint getWidth();
virtual jint getHeight();
virtual jint getDepth();
virtual jint getFormat();
virtual jboolean isZPixmapFormat();
virtual jint getXOffset();
virtual jint getBytesPerLine();
virtual jint getBitsPerPixel();
virtual jint getImageByteOrder();
virtual jint getBitmapBitOrder();
virtual jint getBitmapUnit();
virtual jint getBitmapPad();
virtual jint getRedMask();
virtual jint getGreenMask();
virtual jint getBlueMask();
virtual void setPixel(jint, jint, jint);
virtual ::java::lang::String * toString();
public: // actually package-private
::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) dataRef;
public:
static const jint XYBITMAP_FORMAT = 0;
static const jint XYPIXMAP_FORMAT = 1;
static const jint ZPIXMAP_FORMAT = 2;
static const jint LEAST_SIGNIFICANT_B_FIRST_ORDER = 0;
static const jint MOST_SIGNIFICANT_B_FIRST_ORDER = 1;
public: // actually package-private
jboolean ownsData;
::gnu::gcj::RawData * structure;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XImage__

View File

@ -0,0 +1,36 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_xlib_XUnmapEvent__
#define __gnu_gcj_xlib_XUnmapEvent__
#pragma interface
#include <gnu/gcj/xlib/XEvent.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace xlib
{
class Display;
class Window;
class XUnmapEvent;
}
}
}
}
class gnu::gcj::xlib::XUnmapEvent : public ::gnu::gcj::xlib::XEvent
{
public:
XUnmapEvent(::gnu::gcj::xlib::Display *, ::gnu::gcj::xlib::Window *, ::gnu::gcj::xlib::Window *, jboolean);
virtual void setUnmappedWindow(::gnu::gcj::xlib::Window *);
virtual void setFromConfigure(jboolean);
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_xlib_XUnmapEvent__