You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.0 KiB
50 lines
2.0 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
11 years ago
|
package org.trinitydesktop.qt;
|
||
15 years ago
|
|
||
11 years ago
|
import org.trinitydesktop.qt.Qt;
|
||
15 years ago
|
|
||
13 years ago
|
public class TQGLContext extends TQGL {
|
||
|
protected TQGLContext(Class dummy){super((Class) null);}
|
||
|
public TQGLContext(TQGLFormat format, TQPaintDeviceInterface device) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQGLContext(format,device);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQGLContext(TQGLFormat format, TQPaintDeviceInterface device);
|
||
|
public TQGLContext(TQGLFormat format) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQGLContext(format);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQGLContext(TQGLFormat format);
|
||
|
public native boolean create(TQGLContext shareContext);
|
||
15 years ago
|
public native boolean create();
|
||
|
public native boolean isValid();
|
||
|
public native boolean isSharing();
|
||
|
public native void reset();
|
||
13 years ago
|
public native TQGLFormat format();
|
||
|
public native TQGLFormat requestedFormat();
|
||
|
public native void setFormat(TQGLFormat format);
|
||
15 years ago
|
public native void makeCurrent();
|
||
|
public native void swapBuffers();
|
||
13 years ago
|
public native TQPaintDeviceInterface device();
|
||
|
public native TQColor overlayTransparentColor();
|
||
|
public static native TQGLContext currentContext();
|
||
|
protected native boolean chooseContext(TQGLContext shareContext);
|
||
15 years ago
|
protected native boolean chooseContext();
|
||
|
protected native void doneCurrent();
|
||
|
protected native boolean deviceIsPixmap();
|
||
|
protected native boolean windowCreated();
|
||
|
protected native void setWindowCreated(boolean on);
|
||
|
protected native boolean initialized();
|
||
|
protected native void setInitialized(boolean on);
|
||
13 years ago
|
protected native void generateFontDisplayLists(TQFont fnt, int listBase);
|
||
|
protected native int colorIndex(TQColor c);
|
||
15 years ago
|
protected native void setValid(boolean valid);
|
||
13 years ago
|
protected native void setDevice(TQPaintDeviceInterface pDev);
|
||
15 years ago
|
/** 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();
|
||
|
}
|