3898fe8e7c
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c (isWindowUnderMouse): New method. * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerate. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (getLocationOnScreen): Move WindowPeer section to... * gnu/java/awt/peer/gtk/GtkWindowPeer.java (getLocationOnScreen): New method. * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java (isWindowUnderMouse): Implement. * java/awt/Component.java (getMousePosition): New method. (getMousePositionHelper): Likewise. (mouseOverComponent): Likewise. * java/awt/Container.java (getMousePosition): New method. (mouseOverComponent): Likewise. * classpath/lib/java/awt/Component.class, classpath/lib/java/awt/Component$BltBufferStrategy.class, classpath/lib/java/awt/Container$GfxPaintAllVisitor.class, classpath/lib/java/awt/Component$AccessibleAWTComponent $AccessibleAWTFocusHandler.class, classpath/lib/java/awt/Component$FlipBufferStrategy.class, classpath/lib/java/awt/Container$GfxVisitor.class, classpath/lib/java/awt/Component$AccessibleAWTComponent $AccessibleAWTComponentHandler.class, classpath/lib/java/awt/Container$AccessibleAWTContainer $AccessibleContainerHandler.class, classpath/lib/java/awt/Container.class, classpath/lib/java/awt/Container$AccessibleAWTContainer.class, classpath/lib/java/awt/Container$GfxPrintAllVisitor.class, classpath/lib/java/awt/Component$AccessibleAWTComponent.class, classpath/lib/java/awt/Container$GfxPaintVisitor.class, classpath/lib/java/awt/Container$GfxPrintVisitor.class, classpath/lib/java/awt/Component$HeavyweightInLightweightListener.class, classpath/lib/gnu/java/awt/peer/gtk/GtkComponentPeer.class, classpath/lib/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.class, classpath/lib/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.class, classpath/lib/gnu/java/awt/peer/gtk/GtkWindowPeer.class, classpath/lib/gnu/java/awt/peer/gtk/GtkComponentPeer $RepaintTimerTask.class: Regenerate. 2007-12-05 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h: Regenerate. * gnu/java/awt/peer/gtk/GtkWindowPeer.h: Likewise. * java/awt/Component.h: Likewise. * java/awt/Container.h: Likewise. From-SVN: r130627
94 lines
2.7 KiB
C++
94 lines
2.7 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __gnu_java_awt_peer_gtk_GdkGraphicsEnvironment__
|
|
#define __gnu_java_awt_peer_gtk_GdkGraphicsEnvironment__
|
|
|
|
#pragma interface
|
|
|
|
#include <gnu/java/awt/ClasspathGraphicsEnvironment.h>
|
|
#include <gcj/array.h>
|
|
|
|
extern "Java"
|
|
{
|
|
namespace gnu
|
|
{
|
|
namespace classpath
|
|
{
|
|
class Pointer;
|
|
}
|
|
namespace java
|
|
{
|
|
namespace awt
|
|
{
|
|
namespace peer
|
|
{
|
|
namespace gtk
|
|
{
|
|
class GdkGraphicsEnvironment;
|
|
class GdkScreenGraphicsDevice;
|
|
class GtkWindowPeer;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
namespace java
|
|
{
|
|
namespace awt
|
|
{
|
|
class Font;
|
|
class Graphics2D;
|
|
class GraphicsDevice;
|
|
namespace image
|
|
{
|
|
class BufferedImage;
|
|
class ColorModel;
|
|
class SampleModel;
|
|
class WritableRaster;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class gnu::java::awt::peer::gtk::GdkGraphicsEnvironment : public ::gnu::java::awt::ClasspathGraphicsEnvironment
|
|
{
|
|
|
|
static void initIDs();
|
|
public:
|
|
GdkGraphicsEnvironment();
|
|
public: // actually package-private
|
|
virtual void nativeInitState();
|
|
public:
|
|
virtual JArray< ::java::awt::GraphicsDevice * > * getScreenDevices();
|
|
private:
|
|
JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * > * nativeGetScreenDevices();
|
|
public:
|
|
virtual ::java::awt::GraphicsDevice * getDefaultScreenDevice();
|
|
private:
|
|
::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * nativeGetDefaultScreenDevice();
|
|
public:
|
|
virtual ::java::awt::Graphics2D * createGraphics(::java::awt::image::BufferedImage *);
|
|
private:
|
|
jint nativeGetNumFontFamilies();
|
|
void nativeGetFontFamilies(JArray< ::java::lang::String * > *);
|
|
public:
|
|
virtual JArray< ::java::awt::Font * > * getAllFonts();
|
|
virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames();
|
|
virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *);
|
|
public: // actually package-private
|
|
virtual JArray< jint > * getMouseCoordinates();
|
|
virtual jboolean isWindowUnderMouse(::gnu::java::awt::peer::gtk::GtkWindowPeer *);
|
|
public:
|
|
virtual ::java::awt::image::WritableRaster * createRaster(::java::awt::image::ColorModel *, ::java::awt::image::SampleModel *);
|
|
private:
|
|
jint __attribute__((aligned(__alignof__( ::gnu::java::awt::ClasspathGraphicsEnvironment)))) native_state;
|
|
::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * defaultDevice;
|
|
JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * > * devices;
|
|
::gnu::classpath::Pointer * display;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __gnu_java_awt_peer_gtk_GdkGraphicsEnvironment__
|