diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QGLFormat.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QGLFormat.java | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QGLFormat.java b/qtjava/javalib/org/kde/qt/QGLFormat.java new file mode 100644 index 00000000..d8112b68 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QGLFormat.java @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class QGLFormat extends QGL { + protected QGLFormat(Class dummy){super((Class) null);} + public QGLFormat() { + super((Class) null); + newQGLFormat(); + } + private native void newQGLFormat(); + public QGLFormat(int options, int plane) { + super((Class) null); + newQGLFormat(options,plane); + } + private native void newQGLFormat(int options, int plane); + public QGLFormat(int options) { + super((Class) null); + newQGLFormat(options); + } + private native void newQGLFormat(int options); + public native boolean doubleBuffer(); + public native void setDoubleBuffer(boolean enable); + public native boolean depth(); + public native void setDepth(boolean enable); + public native boolean rgba(); + public native void setRgba(boolean enable); + public native boolean alpha(); + public native void setAlpha(boolean enable); + public native boolean accum(); + public native void setAccum(boolean enable); + public native boolean stencil(); + public native void setStencil(boolean enable); + public native boolean stereo(); + public native void setStereo(boolean enable); + public native boolean directRendering(); + public native void setDirectRendering(boolean enable); + public native boolean hasOverlay(); + public native void setOverlay(boolean enable); + public native int plane(); + public native void setPlane(int plane); + public native void setOption(int opt); + public native boolean testOption(int opt); + public static native QGLFormat defaultFormat(); + public static native void setDefaultFormat(QGLFormat f); + public static native QGLFormat defaultOverlayFormat(); + public static native void setDefaultOverlayFormat(QGLFormat f); + public static native boolean hasOpenGL(); + public static native boolean hasOpenGLOverlays(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |