1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;
import org.trinitydesktop.qt.Qt;
public class TQGLWidget extends TQGL {
protected TQGLWidget(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f) {
super((Class) null);
newTQGLWidget(parent,name,shareWidget,f);
}
private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f);
public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget) {
super((Class) null);
newTQGLWidget(parent,name,shareWidget);
}
private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget);
public TQGLWidget(TQWidget parent, String name) {
super((Class) null);
newTQGLWidget(parent,name);
}
private native void newTQGLWidget(TQWidget parent, String name);
public TQGLWidget(TQWidget parent) {
super((Class) null);
newTQGLWidget(parent);
}
private native void newTQGLWidget(TQWidget parent);
public TQGLWidget() {
super((Class) null);
newTQGLWidget();
}
private native void newTQGLWidget();
public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f) {
super((Class) null);
newTQGLWidget(context,parent,name,shareWidget,f);
}
private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f);
public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget) {
super((Class) null);
newTQGLWidget(context,parent,name,shareWidget);
}
private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget);
public TQGLWidget(TQGLContext context, TQWidget parent, String name) {
super((Class) null);
newTQGLWidget(context,parent,name);
}
private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name);
public TQGLWidget(TQGLContext context, TQWidget parent) {
super((Class) null);
newTQGLWidget(context,parent);
}
private native void newTQGLWidget(TQGLContext context, TQWidget parent);
public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f) {
super((Class) null);
newTQGLWidget(format,parent,name,shareWidget,f);
}
private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f);
public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget) {
super((Class) null);
newTQGLWidget(format,parent,name,shareWidget);
}
private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget);
public TQGLWidget(TQGLFormat format, TQWidget parent, String name) {
super((Class) null);
newTQGLWidget(format,parent,name);
}
private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name);
public TQGLWidget(TQGLFormat format, TQWidget parent) {
super((Class) null);
newTQGLWidget(format,parent);
}
private native void newTQGLWidget(TQGLFormat format, TQWidget parent);
public TQGLWidget(TQGLFormat format) {
super((Class) null);
newTQGLWidget(format);
}
private native void newTQGLWidget(TQGLFormat format);
public native void qglColor(TQColor c);
public native void qglClearColor(TQColor c);
public native boolean isValid();
public native boolean isSharing();
public native void makeCurrent();
public native void doneCurrent();
public native boolean doubleBuffer();
public native void swapBuffers();
public native TQGLFormat format();
public native void setFormat(TQGLFormat format);
public native TQGLContext context();
public native void setContext(TQGLContext context, TQGLContext shareContext, boolean deleteOldContext);
public native void setContext(TQGLContext context, TQGLContext shareContext);
public native void setContext(TQGLContext context);
public native TQPixmap renderPixmap(int w, int h, boolean useContext);
public native TQPixmap renderPixmap(int w, int h);
public native TQPixmap renderPixmap(int w);
public native TQPixmap renderPixmap();
public native TQImage grabFrameBuffer(boolean withAlpha);
public native TQImage grabFrameBuffer();
public native void makeOverlayCurrent();
public native TQGLContext overlayContext();
public native void setMouseTracking(boolean enable);
public native void reparent(TQWidget parent, int f, TQPoint p, boolean showIt);
public native void reparent(TQWidget parent, int f, TQPoint p);
public native TQGLColormap colormap();
public native void setColormap(TQGLColormap map);
public native void renderText(int x, int y, String str, TQFont fnt, int listBase);
public native void renderText(int x, int y, String str, TQFont fnt);
public native void renderText(int x, int y, String str);
public native void renderText(double x, double y, double z, String str, TQFont fnt, int listBase);
public native void renderText(double x, double y, double z, String str, TQFont fnt);
public native void renderText(double x, double y, double z, String str);
public native void updateGL();
public native void updateOverlayGL();
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
public static native TQImage convertToGLFormat(TQImage img);
protected native void initializeGL();
protected native void resizeGL(int w, int h);
protected native void paintGL();
protected native void initializeOverlayGL();
protected native void resizeOverlayGL(int w, int h);
protected native void paintOverlayGL();
protected native void setAutoBufferSwap(boolean on);
protected native boolean autoBufferSwap();
protected native void paintEvent(TQPaintEvent arg1);
protected native void resizeEvent(TQResizeEvent arg1);
protected native void glInit();
protected native void glDraw();
/** 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();
}
|