GraphicsDevice.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_GraphicsDevice__
  3. #define __java_awt_GraphicsDevice__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class DisplayMode;
  14. class GraphicsConfigTemplate;
  15. class GraphicsConfiguration;
  16. class GraphicsDevice;
  17. class Rectangle;
  18. class Window;
  19. }
  20. }
  21. }
  22. class java::awt::GraphicsDevice : public ::java::lang::Object
  23. {
  24. public: // actually protected
  25. GraphicsDevice();
  26. public:
  27. virtual jint getType() = 0;
  28. virtual ::java::lang::String * getIDstring() = 0;
  29. virtual JArray< ::java::awt::GraphicsConfiguration * > * getConfigurations() = 0;
  30. virtual ::java::awt::GraphicsConfiguration * getDefaultConfiguration() = 0;
  31. virtual ::java::awt::GraphicsConfiguration * getBestConfiguration(::java::awt::GraphicsConfigTemplate *);
  32. virtual jboolean isFullScreenSupported();
  33. virtual void setFullScreenWindow(::java::awt::Window *);
  34. virtual ::java::awt::Window * getFullScreenWindow();
  35. virtual jboolean isDisplayChangeSupported();
  36. virtual void setDisplayMode(::java::awt::DisplayMode *);
  37. virtual ::java::awt::DisplayMode * getDisplayMode();
  38. virtual JArray< ::java::awt::DisplayMode * > * getDisplayModes();
  39. virtual jint getAvailableAcceleratedMemory();
  40. static const jint TYPE_RASTER_SCREEN = 0;
  41. static const jint TYPE_PRINTER = 1;
  42. static const jint TYPE_IMAGE_BUFFER = 2;
  43. private:
  44. ::java::awt::Window * __attribute__((aligned(__alignof__( ::java::lang::Object)))) full_screen;
  45. ::java::awt::Rectangle * fullScreenOldBounds;
  46. ::java::awt::DisplayMode * mode;
  47. public:
  48. static ::java::lang::Class class$;
  49. };
  50. #endif // __java_awt_GraphicsDevice__