diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QGLFormat.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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(); +} |