summaryrefslogtreecommitdiff
path: root/libjava/gnu/awt/xlib/XGraphicsEnvironment.h
blob: 0f09087ae55fd82a20ef31090ebf467db6b4becc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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__