summaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/xlib/WindowAttributes.h
blob: 6c533033d77853a14053880ddfe17e059ad1ceb1 (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
61
62
63
64
65
66
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_gcj_xlib_WindowAttributes__
#define __gnu_gcj_xlib_WindowAttributes__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
        class RawData;
      namespace xlib
      {
          class Display;
          class Pixmap;
          class Visual;
          class Window;
          class WindowAttributes;
      }
    }
  }
}

class gnu::gcj::xlib::WindowAttributes : public ::java::lang::Object
{

public:
  WindowAttributes();
  WindowAttributes(::gnu::gcj::xlib::Window *);
private:
  void initFromWindow(::gnu::gcj::xlib::Window *);
  void init(::gnu::gcj::xlib::WindowAttributes *);
public: // actually protected
  virtual void finalize();
public:
  virtual ::java::lang::Object * clone();
  virtual void setBackground(jlong);
  virtual void setBackground(::gnu::gcj::xlib::Pixmap *);
  virtual void setEventMask(jlong);
  virtual void setVisual(::gnu::gcj::xlib::Visual *);
  virtual ::gnu::gcj::xlib::Visual * getVisual();
  virtual void apply(::gnu::gcj::xlib::Window *);
public: // actually package-private
  virtual ::gnu::gcj::RawData * getXSetWindowAttributesStructure();
  virtual void initOut();
public:
  static const jlong MASK_BUTTON_PRESS = 4LL;
  static const jlong MASK_BUTTON_RELEASE = 8LL;
  static const jlong MASK_EXPOSURE = 32768LL;
  static const jlong MASK_STRUCTURE_NOTIFY = 131072LL;
public: // actually package-private
  ::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display;
  ::gnu::gcj::RawData * in;
  ::gnu::gcj::RawData * out;
  jlong mask;
  ::gnu::gcj::xlib::Visual * visual;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_gcj_xlib_WindowAttributes__