summaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/xlib/Colormap.h
blob: 440766eb8fd36e9fb715e06fa292ac28a00a6ce6 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_gcj_xlib_Colormap__
#define __gnu_gcj_xlib_Colormap__

#pragma interface

#include <gnu/gcj/xlib/XID.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
      namespace xlib
      {
          class Colormap;
          class Screen;
          class XColor;
      }
    }
  }
}

class gnu::gcj::xlib::Colormap : public ::gnu::gcj::xlib::XID
{

public:
  Colormap(::gnu::gcj::xlib::Screen *, jint);
  jlong allocateColorPixel(::gnu::gcj::xlib::XColor *);
  ::gnu::gcj::xlib::XColor * allocateColor(jint, jint, jint);
  JArray< ::gnu::gcj::xlib::XColor * > * getSharedColors();
  JArray< ::gnu::gcj::xlib::XColor * > * getXColors();
private:
  JArray< ::gnu::gcj::xlib::XColor * > * newXColorArray(jint);
public: // actually package-private
  ::gnu::gcj::xlib::Screen * __attribute__((aligned(__alignof__( ::gnu::gcj::xlib::XID)))) screen;
public:
  static const jbyte FLAG_SHARED = 1;
  static const jbyte FLAG_NOT_SHARED = 2;
  static ::java::lang::Class class$;
};

#endif // __gnu_gcj_xlib_Colormap__