summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QGLWidget.java
blob: 83af7d6cd8b6b22c19101526c00c5e25c4473028 (plain)
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.kde.qt;

import org.kde.qt.Qt;

public class QGLWidget extends QGL  {
	protected QGLWidget(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public QGLWidget(QWidget parent, String name, QGLWidget shareWidget, int f) {
		super((Class) null);
		newQGLWidget(parent,name,shareWidget,f);
	}
	private native void newQGLWidget(QWidget parent, String name, QGLWidget shareWidget, int f);
	public QGLWidget(QWidget parent, String name, QGLWidget shareWidget) {
		super((Class) null);
		newQGLWidget(parent,name,shareWidget);
	}
	private native void newQGLWidget(QWidget parent, String name, QGLWidget shareWidget);
	public QGLWidget(QWidget parent, String name) {
		super((Class) null);
		newQGLWidget(parent,name);
	}
	private native void newQGLWidget(QWidget parent, String name);
	public QGLWidget(QWidget parent) {
		super((Class) null);
		newQGLWidget(parent);
	}
	private native void newQGLWidget(QWidget parent);
	public QGLWidget() {
		super((Class) null);
		newQGLWidget();
	}
	private native void newQGLWidget();
	public QGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget, int f) {
		super((Class) null);
		newQGLWidget(context,parent,name,shareWidget,f);
	}
	private native void newQGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget, int f);
	public QGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget) {
		super((Class) null);
		newQGLWidget(context,parent,name,shareWidget);
	}
	private native void newQGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget);
	public QGLWidget(QGLContext context, QWidget parent, String name) {
		super((Class) null);
		newQGLWidget(context,parent,name);
	}
	private native void newQGLWidget(QGLContext context, QWidget parent, String name);
	public QGLWidget(QGLContext context, QWidget parent) {
		super((Class) null);
		newQGLWidget(context,parent);
	}
	private native void newQGLWidget(QGLContext context, QWidget parent);
	public QGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget, int f) {
		super((Class) null);
		newQGLWidget(format,parent,name,shareWidget,f);
	}
	private native void newQGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget, int f);
	public QGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget) {
		super((Class) null);
		newQGLWidget(format,parent,name,shareWidget);
	}
	private native void newQGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget);
	public QGLWidget(QGLFormat format, QWidget parent, String name) {
		super((Class) null);
		newQGLWidget(format,parent,name);
	}
	private native void newQGLWidget(QGLFormat format, QWidget parent, String name);
	public QGLWidget(QGLFormat format, QWidget parent) {
		super((Class) null);
		newQGLWidget(format,parent);
	}
	private native void newQGLWidget(QGLFormat format, QWidget parent);
	public QGLWidget(QGLFormat format) {
		super((Class) null);
		newQGLWidget(format);
	}
	private native void newQGLWidget(QGLFormat format);
	public native void qglColor(QColor c);
	public native void qglClearColor(QColor 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 QGLFormat format();
	public native void setFormat(QGLFormat format);
	public native QGLContext context();
	public native void setContext(QGLContext context, QGLContext shareContext, boolean deleteOldContext);
	public native void setContext(QGLContext context, QGLContext shareContext);
	public native void setContext(QGLContext context);
	public native QPixmap renderPixmap(int w, int h, boolean useContext);
	public native QPixmap renderPixmap(int w, int h);
	public native QPixmap renderPixmap(int w);
	public native QPixmap renderPixmap();
	public native QImage grabFrameBuffer(boolean withAlpha);
	public native QImage grabFrameBuffer();
	public native void makeOverlayCurrent();
	public native QGLContext overlayContext();
	public native void setMouseTracking(boolean enable);
	public native void reparent(QWidget parent, int f, QPoint p, boolean showIt);
	public native void reparent(QWidget parent, int f, QPoint p);
	public native QGLColormap colormap();
	public native void setColormap(QGLColormap map);
	public native void renderText(int x, int y, String str, QFont fnt, int listBase);
	public native void renderText(int x, int y, String str, QFont fnt);
	public native void renderText(int x, int y, String str);
	public native void renderText(double x, double y, double z, String str, QFont fnt, int listBase);
	public native void renderText(double x, double y, double z, String str, QFont 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 QImage convertToGLFormat(QImage 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(QPaintEvent arg1);
	protected native void resizeEvent(QResizeEvent 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();
}