1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice__
|
5 |
|
|
#define __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/awt/GraphicsDevice.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace classpath
|
17 |
|
|
{
|
18 |
|
|
class Pointer;
|
19 |
|
|
}
|
20 |
|
|
namespace java
|
21 |
|
|
{
|
22 |
|
|
namespace awt
|
23 |
|
|
{
|
24 |
|
|
namespace peer
|
25 |
|
|
{
|
26 |
|
|
namespace gtk
|
27 |
|
|
{
|
28 |
|
|
class GdkGraphicsConfiguration;
|
29 |
|
|
class GdkGraphicsEnvironment;
|
30 |
|
|
class GdkScreenGraphicsDevice;
|
31 |
|
|
class GdkScreenGraphicsDevice$X11DisplayMode;
|
32 |
|
|
}
|
33 |
|
|
}
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
namespace java
|
38 |
|
|
{
|
39 |
|
|
namespace awt
|
40 |
|
|
{
|
41 |
|
|
class DisplayMode;
|
42 |
|
|
class GraphicsConfiguration;
|
43 |
|
|
class Rectangle;
|
44 |
|
|
class Window;
|
45 |
|
|
}
|
46 |
|
|
}
|
47 |
|
|
}
|
48 |
|
|
|
49 |
|
|
class gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice : public ::java::awt::GraphicsDevice
|
50 |
|
|
{
|
51 |
|
|
|
52 |
|
|
public: // actually package-private
|
53 |
|
|
static void initIDs();
|
54 |
|
|
GdkScreenGraphicsDevice(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
|
55 |
|
|
virtual void init();
|
56 |
|
|
virtual ::java::awt::DisplayMode * nativeGetFixedDisplayMode(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
|
57 |
|
|
public:
|
58 |
|
|
virtual jint getType();
|
59 |
|
|
virtual ::java::lang::String * getIDstring();
|
60 |
|
|
private:
|
61 |
|
|
::java::lang::String * nativeGetIDString();
|
62 |
|
|
public:
|
63 |
|
|
virtual JArray< ::java::awt::GraphicsConfiguration * > * getConfigurations();
|
64 |
|
|
virtual ::java::awt::GraphicsConfiguration * getDefaultConfiguration();
|
65 |
|
|
virtual ::java::awt::DisplayMode * getDisplayMode();
|
66 |
|
|
public: // actually package-private
|
67 |
|
|
virtual jint nativeGetDisplayModeIndex(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
|
68 |
|
|
virtual jint nativeGetDisplayModeRate(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
|
69 |
|
|
public:
|
70 |
|
|
virtual JArray< ::java::awt::DisplayMode * > * getDisplayModes();
|
71 |
|
|
public: // actually package-private
|
72 |
|
|
virtual JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice$X11DisplayMode * > * nativeGetDisplayModes(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
|
73 |
|
|
public:
|
74 |
|
|
virtual jboolean isFullScreenSupported();
|
75 |
|
|
virtual jboolean isDisplayChangeSupported();
|
76 |
|
|
virtual void setDisplayMode(::java::awt::DisplayMode *);
|
77 |
|
|
public: // actually package-private
|
78 |
|
|
virtual void nativeSetDisplayMode(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *, jint, jshort);
|
79 |
|
|
public:
|
80 |
|
|
virtual void setFullScreenWindow(::java::awt::Window *);
|
81 |
|
|
virtual ::java::awt::Window * getFullScreenWindow();
|
82 |
|
|
public: // actually package-private
|
83 |
|
|
virtual ::java::awt::Rectangle * getBounds();
|
84 |
|
|
virtual ::java::awt::Rectangle * nativeGetBounds();
|
85 |
|
|
private:
|
86 |
|
|
jint __attribute__((aligned(__alignof__( ::java::awt::GraphicsDevice)))) native_state;
|
87 |
|
|
::java::awt::Window * fullscreenWindow;
|
88 |
|
|
jboolean oldWindowDecorationState;
|
89 |
|
|
::java::awt::Rectangle * oldWindowBounds;
|
90 |
|
|
::java::awt::Rectangle * bounds;
|
91 |
|
|
JArray< ::gnu::java::awt::peer::gtk::GdkGraphicsConfiguration * > * configurations;
|
92 |
|
|
public: // actually package-private
|
93 |
|
|
::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment * env;
|
94 |
|
|
::java::lang::String * idString;
|
95 |
|
|
JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice$X11DisplayMode * > * displayModes;
|
96 |
|
|
::java::awt::DisplayMode * fixedDisplayMode;
|
97 |
|
|
private:
|
98 |
|
|
::gnu::classpath::Pointer * screen;
|
99 |
|
|
public:
|
100 |
|
|
static ::java::lang::Class class$;
|
101 |
|
|
};
|
102 |
|
|
|
103 |
|
|
#endif // __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice__
|