summaryrefslogtreecommitdiff
path: root/libjava/java/awt/GraphicsDevice.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/java/awt/GraphicsDevice.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/java/awt/GraphicsDevice.h')
-rw-r--r--libjava/java/awt/GraphicsDevice.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/libjava/java/awt/GraphicsDevice.h b/libjava/java/awt/GraphicsDevice.h
new file mode 100644
index 000000000..a10d93d86
--- /dev/null
+++ b/libjava/java/awt/GraphicsDevice.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_GraphicsDevice__
+#define __java_awt_GraphicsDevice__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class DisplayMode;
+ class GraphicsConfigTemplate;
+ class GraphicsConfiguration;
+ class GraphicsDevice;
+ class Rectangle;
+ class Window;
+ }
+ }
+}
+
+class java::awt::GraphicsDevice : public ::java::lang::Object
+{
+
+public: // actually protected
+ GraphicsDevice();
+public:
+ virtual jint getType() = 0;
+ virtual ::java::lang::String * getIDstring() = 0;
+ virtual JArray< ::java::awt::GraphicsConfiguration * > * getConfigurations() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getDefaultConfiguration() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getBestConfiguration(::java::awt::GraphicsConfigTemplate *);
+ virtual jboolean isFullScreenSupported();
+ virtual void setFullScreenWindow(::java::awt::Window *);
+ virtual ::java::awt::Window * getFullScreenWindow();
+ virtual jboolean isDisplayChangeSupported();
+ virtual void setDisplayMode(::java::awt::DisplayMode *);
+ virtual ::java::awt::DisplayMode * getDisplayMode();
+ virtual JArray< ::java::awt::DisplayMode * > * getDisplayModes();
+ virtual jint getAvailableAcceleratedMemory();
+ static const jint TYPE_RASTER_SCREEN = 0;
+ static const jint TYPE_PRINTER = 1;
+ static const jint TYPE_IMAGE_BUFFER = 2;
+private:
+ ::java::awt::Window * __attribute__((aligned(__alignof__( ::java::lang::Object)))) full_screen;
+ ::java::awt::Rectangle * fullScreenOldBounds;
+ ::java::awt::DisplayMode * mode;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_GraphicsDevice__