diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/gcj/xlib/Visual.h | |
download | cbb-gcc-4.6.4-15d2061ac0796199866debe9ac87130894b0cdd3.tar.bz2 cbb-gcc-4.6.4-15d2061ac0796199866debe9ac87130894b0cdd3.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/gnu/gcj/xlib/Visual.h')
-rw-r--r-- | libjava/gnu/gcj/xlib/Visual.h | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/libjava/gnu/gcj/xlib/Visual.h b/libjava/gnu/gcj/xlib/Visual.h new file mode 100644 index 000000000..de3e25e33 --- /dev/null +++ b/libjava/gnu/gcj/xlib/Visual.h @@ -0,0 +1,79 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_gcj_xlib_Visual__ +#define __gnu_gcj_xlib_Visual__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace gcj + { + class RawData; + namespace xlib + { + class Display; + class Screen; + class Visual; + } + } + } +} + +class gnu::gcj::xlib::Visual : public ::java::lang::Object +{ + +public: // actually package-private + Visual(::gnu::gcj::RawData *, ::gnu::gcj::xlib::Screen *, jint); + Visual(::gnu::gcj::xlib::Display *, ::gnu::gcj::RawData *, jint); +public: // actually protected + void init(::gnu::gcj::RawData *, jint); + void finalize(); +public: // actually package-private + ::gnu::gcj::RawData * getVisualStructure(); +public: + jint getRedMask(); + jint getGreenMask(); + jint getBlueMask(); + jint getScreenNumber(); + jint getDepth(); + ::gnu::gcj::xlib::Screen * getScreen(); + jint getVisualClass(); + jboolean hasRGBSubfields(); +public: // actually protected + void ensureXVisualInfo(jint); +public: + ::java::lang::String * toString(); + static const jint VC_STATIC_GRAY = 0; + static const jint VC_GRAY_SCALE = 1; + static const jint VC_STATIC_COLOR = 2; + static const jint VC_PSEUDO_COLOR = 3; + static const jint VC_TRUE_COLOR = 4; + static const jint VC_DIRECT_COLOR = 5; +public: // actually protected + static const jint MASK_ID = 1; + static const jint MASK_SCREEN = 2; + static const jint MASK_DEPTH = 4; + static const jint MASK_CLASS = 8; + static const jint MASK_RED = 16; + static const jint MASK_GREEN = 32; + static const jint MASK_BLUE = 64; + static const jint MASK_COLORMAP_SIZE = 128; + static const jint MASK_BITS_PER_RGB = 256; + static const jint MASK_ALL = 511; +private: + static const jint MASK_VISUAL_STRUCTURE = -2147483647 - 1; +public: // actually package-private + ::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display; + ::gnu::gcj::RawData * xVisualInfo; + jint infoMask; + ::gnu::gcj::xlib::Screen * screen; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_gcj_xlib_Visual__ |