summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqglwidget.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqglwidget.3qt')
-rw-r--r--doc/man/man3/tqglwidget.3qt24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man/man3/tqglwidget.3qt b/doc/man/man3/tqglwidget.3qt
index 3184766d3..e78f0e12b 100644
--- a/doc/man/man3/tqglwidget.3qt
+++ b/doc/man/man3/tqglwidget.3qt
@@ -58,10 +58,10 @@ Inherits TQWidget and TQGL.
.BI "const TQGLContext * \fBcontext\fR () const"
.br
.ti -1c
-.BI "virtual TQPixmap \fBrenderPixmap\fR ( int w = 0, int h = 0, bool useContext = FALSE )"
+.BI "virtual TQPixmap \fBrenderPixmap\fR ( int w = 0, int h = 0, bool useContext = false )"
.br
.ti -1c
-.BI "virtual TQImage \fBgrabFrameBuffer\fR ( bool withAlpha = FALSE )"
+.BI "virtual TQImage \fBgrabFrameBuffer\fR ( bool withAlpha = false )"
.br
.ti -1c
.BI "virtual void \fBmakeOverlayCurrent\fR ()"
@@ -304,7 +304,7 @@ See also TQGLFormat::defaultFormat() and isValid().
.SH "TQGLWidget::~TQGLWidget ()"
Destroys the widget.
.SH "bool TQGLWidget::autoBufferSwap () const\fC [protected]\fR"
-Returns TRUE if the widget is doing automatic GL buffer swapping; otherwise returns FALSE.
+Returns true if the widget is doing automatic GL buffer swapping; otherwise returns false.
.PP
See also setAutoBufferSwap().
.SH "const TQGLColormap & TQGLWidget::colormap () const"
@@ -353,7 +353,7 @@ Example: opengl/texture/gltexobj.cpp.
.SH "void TQGLWidget::doneCurrent ()"
Makes no GL context the current context. Normally, you do not need to call this function; TQGLContext calls it as necessary. However, it may be useful in multithreaded environments.
.SH "bool TQGLWidget::doubleBuffer () const"
-Returns TRUE if the contained GL rendering context has double buffering; otherwise returns FALSE.
+Returns true if the contained GL rendering context has double buffering; otherwise returns false.
.PP
See also TQGLFormat::doubleBuffer().
.SH "TQGLFormat TQGLWidget::format () const"
@@ -364,8 +364,8 @@ Executes the virtual function paintGL().
The widget's rendering context will become the current context and initializeGL() will be called if it hasn't already been called.
.SH "void TQGLWidget::glInit ()\fC [virtual protected]\fR"
Initializes OpenGL for this widget's context. Calls the virtual function initializeGL().
-.SH "TQImage TQGLWidget::grabFrameBuffer ( bool withAlpha = FALSE )\fC [virtual]\fR"
-Returns an image of the frame buffer. If \fIwithAlpha\fR is TRUE the alpha channel is included.
+.SH "TQImage TQGLWidget::grabFrameBuffer ( bool withAlpha = false )\fC [virtual]\fR"
+Returns an image of the frame buffer. If \fIwithAlpha\fR is true the alpha channel is included.
.PP
Depending on your hardware, you can explicitly select which color buffer to grab with a glReadBuffer() call before calling this function.
.SH "void TQGLWidget::initializeGL ()\fC [virtual protected]\fR"
@@ -381,11 +381,11 @@ This function should set up any required OpenGL context rendering flags, definin
.PP
There is no need to call makeOverlayCurrent() because this has already been done when this function is called.
.SH "bool TQGLWidget::isSharing () const"
-Returns TRUE if display list sharing with another TQGLWidget was requested in the constructor, and the GL system was able to provide it; otherwise returns FALSE. The GL system may fail to provide display list sharing if the two TQGLWidgets use different formats.
+Returns true if display list sharing with another TQGLWidget was requested in the constructor, and the GL system was able to provide it; otherwise returns false. The GL system may fail to provide display list sharing if the two TQGLWidgets use different formats.
.PP
See also format().
.SH "bool TQGLWidget::isValid () const"
-Returns TRUE if the widget has a valid GL rendering context; otherwise returns FALSE. A widget will be invalid if the system has no OpenGL support.
+Returns true if the widget has a valid GL rendering context; otherwise returns false. A widget will be invalid if the system has no OpenGL support.
.SH "void TQGLWidget::makeCurrent ()\fC [virtual]\fR"
Makes this widget the current widget for OpenGL operations, i.e. makes the widget's rendering context the current OpenGL rendering context.
.SH "void TQGLWidget::makeOverlayCurrent ()\fC [virtual]\fR"
@@ -420,7 +420,7 @@ See also qglColor(), TQGLContext::currentContext(), and TQColor.
Convenience function for specifying a drawing color to OpenGL. Calls glColor3 (in RGBA mode) or glIndex (in color-index mode) with the color \fIc\fR. Applies to the current GL context.
.PP
See also qglClearColor(), TQGLContext::currentContext(), and TQColor.
-.SH "TQPixmap TQGLWidget::renderPixmap ( int w = 0, int h = 0, bool useContext = FALSE )\fC [virtual]\fR"
+.SH "TQPixmap TQGLWidget::renderPixmap ( int w = 0, int h = 0, bool useContext = false )\fC [virtual]\fR"
Renders the current scene on a pixmap and returns the pixmap.
.PP
You can use this method on both visible and invisible TQGLWidgets.
@@ -429,7 +429,7 @@ This method will create a pixmap and a temporary TQGLContext to render on the pi
.PP
The size of the pixmap will be \fIw\fR pixels wide and \fIh\fR pixels high unless one of these parameters is 0 (the default), in which case the pixmap will have the same size as the widget.
.PP
-If \fIuseContext\fR is TRUE, this method will try to be more efficient by using the existing GL context to render the pixmap. The default is FALSE. Only use TRUE if you understand the risks.
+If \fIuseContext\fR is true, this method will try to be more efficient by using the existing GL context to render the pixmap. The default is false. Only use true if you understand the risks.
.PP
Overlays are not rendered onto the pixmap.
.PP
@@ -461,9 +461,9 @@ This virtual function is used in the same manner as paintGL() except that it ope
.PP
There is no need to call makeOverlayCurrent() because this has already been done when this function is called.
.SH "void TQGLWidget::setAutoBufferSwap ( bool on )\fC [protected]\fR"
-If \fIon\fR is TRUE automatic GL buffer swapping is switched on; otherwise it is switched off.
+If \fIon\fR is true automatic GL buffer swapping is switched on; otherwise it is switched off.
.PP
-If \fIon\fR is TRUE and the widget is using a double-buffered format, the background and foreground GL buffers will automatically be swapped after each paintGL() call.
+If \fIon\fR is true and the widget is using a double-buffered format, the background and foreground GL buffers will automatically be swapped after each paintGL() call.
.PP
The buffer auto-swapping is on by default.
.PP