2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_gcj_xlib_Visual__
5 #define __gnu_gcj_xlib_Visual__
9 #include <java/lang/Object.h>
27 class gnu::gcj::xlib::Visual
: public ::java::lang::Object
30 public: // actually package-private
31 Visual(::gnu::gcj::RawData
*, ::gnu::gcj::xlib::Screen
*, jint
);
32 Visual(::gnu::gcj::xlib::Display
*, ::gnu::gcj::RawData
*, jint
);
33 public: // actually protected
34 void init(::gnu::gcj::RawData
*, jint
);
36 public: // actually package-private
37 ::gnu::gcj::RawData
* getVisualStructure();
42 jint
getScreenNumber();
44 ::gnu::gcj::xlib::Screen
* getScreen();
45 jint
getVisualClass();
46 jboolean
hasRGBSubfields();
47 public: // actually protected
48 void ensureXVisualInfo(jint
);
50 ::java::lang::String
* toString();
51 static const jint VC_STATIC_GRAY
= 0;
52 static const jint VC_GRAY_SCALE
= 1;
53 static const jint VC_STATIC_COLOR
= 2;
54 static const jint VC_PSEUDO_COLOR
= 3;
55 static const jint VC_TRUE_COLOR
= 4;
56 static const jint VC_DIRECT_COLOR
= 5;
57 public: // actually protected
58 static const jint MASK_ID
= 1;
59 static const jint MASK_SCREEN
= 2;
60 static const jint MASK_DEPTH
= 4;
61 static const jint MASK_CLASS
= 8;
62 static const jint MASK_RED
= 16;
63 static const jint MASK_GREEN
= 32;
64 static const jint MASK_BLUE
= 64;
65 static const jint MASK_COLORMAP_SIZE
= 128;
66 static const jint MASK_BITS_PER_RGB
= 256;
67 static const jint MASK_ALL
= 511;
69 static const jint MASK_VISUAL_STRUCTURE
= -2147483647 - 1;
70 public: // actually package-private
71 ::gnu::gcj::xlib::Display
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) display
;
72 ::gnu::gcj::RawData
* xVisualInfo
;
74 ::gnu::gcj::xlib::Screen
* screen
;
76 static ::java::lang::Class
class$
;
79 #endif // __gnu_gcj_xlib_Visual__