| |
| // 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__ |