summaryrefslogtreecommitdiffstats
path: root/doc/html/tqglwidget.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqglwidget.html')
-rw-r--r--doc/html/tqglwidget.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/tqglwidget.html b/doc/html/tqglwidget.html
index 3bf91aa42..bb9c797f3 100644
--- a/doc/html/tqglwidget.html
+++ b/doc/html/tqglwidget.html
@@ -51,8 +51,8 @@ body { background: #ffffff; color: black; }
<li class=fn>virtual void <a href="#swapBuffers"><b>swapBuffers</b></a> ()</li>
<li class=fn>TQGLFormat <a href="#format"><b>format</b></a> () const</li>
<li class=fn>const TQGLContext * <a href="#context"><b>context</b></a> () const</li>
-<li class=fn>virtual TQPixmap <a href="#renderPixmap"><b>renderPixmap</b></a> ( int&nbsp;w = 0, int&nbsp;h = 0, bool&nbsp;useContext = FALSE )</li>
-<li class=fn>virtual TQImage <a href="#grabFrameBuffer"><b>grabFrameBuffer</b></a> ( bool&nbsp;withAlpha = FALSE )</li>
+<li class=fn>virtual TQPixmap <a href="#renderPixmap"><b>renderPixmap</b></a> ( int&nbsp;w = 0, int&nbsp;h = 0, bool&nbsp;useContext = false )</li>
+<li class=fn>virtual TQImage <a href="#grabFrameBuffer"><b>grabFrameBuffer</b></a> ( bool&nbsp;withAlpha = false )</li>
<li class=fn>virtual void <a href="#makeOverlayCurrent"><b>makeOverlayCurrent</b></a> ()</li>
<li class=fn>const TQGLContext * <a href="#overlayContext"><b>overlayContext</b></a> () const</li>
<li class=fn>const TQGLColormap &amp; <a href="#colormap"><b>colormap</b></a> () const</li>
@@ -260,8 +260,8 @@ Destroys the widget.
<h3 class=fn>bool <a name="autoBufferSwap"></a>TQGLWidget::autoBufferSwap () const<tt> [protected]</tt>
</h3>
-<p> Returns TRUE if the widget is doing automatic GL buffer swapping;
-otherwise returns FALSE.
+<p> Returns true if the widget is doing automatic GL buffer swapping;
+otherwise returns false.
<p> <p>See also <a href="#setAutoBufferSwap">setAutoBufferSwap</a>().
<h3 class=fn>const&nbsp;<a href="tqglcolormap.html">TQGLColormap</a>&nbsp;&amp; <a name="colormap"></a>TQGLWidget::colormap () const
@@ -322,8 +322,8 @@ it may be useful in multithreaded environments.
<h3 class=fn>bool <a name="doubleBuffer"></a>TQGLWidget::doubleBuffer () const
</h3>
-<p> Returns TRUE if the contained GL rendering context has double
-buffering; otherwise returns FALSE.
+<p> Returns true if the contained GL rendering context has double
+buffering; otherwise returns false.
<p> <p>See also <a href="tqglformat.html#doubleBuffer">TQGLFormat::doubleBuffer</a>().
<h3 class=fn><a href="tqglformat.html">TQGLFormat</a> <a name="format"></a>TQGLWidget::format () const
@@ -342,9 +342,9 @@ Executes the virtual function <a href="#paintGL">paintGL</a>().
Initializes OpenGL for this widget's context. Calls the virtual
function <a href="#initializeGL">initializeGL</a>().
-<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="grabFrameBuffer"></a>TQGLWidget::grabFrameBuffer ( bool&nbsp;withAlpha = FALSE )<tt> [virtual]</tt>
+<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="grabFrameBuffer"></a>TQGLWidget::grabFrameBuffer ( bool&nbsp;withAlpha = false )<tt> [virtual]</tt>
</h3>
-Returns an image of the frame buffer. If <em>withAlpha</em> is TRUE the
+Returns an image of the frame buffer. If <em>withAlpha</em> is true the
alpha channel is included.
<p> Depending on your hardware, you can explicitly select which color
buffer to grab with a glReadBuffer() call before calling this
@@ -375,9 +375,9 @@ already been done when this function is called.
<h3 class=fn>bool <a name="isSharing"></a>TQGLWidget::isSharing () const
</h3>
-<p> Returns TRUE if display list sharing with another TQGLWidget was
+<p> 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 it; otherwise returns false. The GL system may fail to
provide display list sharing if the two TQGLWidgets use different
formats.
<p> <p>See also <a href="#format">format</a>().
@@ -385,8 +385,8 @@ formats.
<h3 class=fn>bool <a name="isValid"></a>TQGLWidget::isValid () const
</h3>
-<p> Returns TRUE if the widget has a valid GL rendering context;
-otherwise returns FALSE. A widget will be invalid if the system
+<p> Returns true if the widget has a valid GL rendering context;
+otherwise returns false. A widget will be invalid if the system
has no <a href="tqglformat.html#hasOpenGL">OpenGL support</a>.
<h3 class=fn>void <a name="makeCurrent"></a>TQGLWidget::makeCurrent ()<tt> [virtual]</tt>
@@ -451,7 +451,7 @@ Calls glColor3 (in RGBA mode) or glIndex (in color-index mode)
with the color <em>c</em>. Applies to the current GL context.
<p> <p>See also <a href="#qglClearColor">qglClearColor</a>(), <a href="tqglcontext.html#currentContext">TQGLContext::currentContext</a>(), and <a href="tqcolor.html">TQColor</a>.
-<h3 class=fn><a href="tqpixmap.html">TQPixmap</a> <a name="renderPixmap"></a>TQGLWidget::renderPixmap ( int&nbsp;w = 0, int&nbsp;h = 0, bool&nbsp;useContext = FALSE )<tt> [virtual]</tt>
+<h3 class=fn><a href="tqpixmap.html">TQPixmap</a> <a name="renderPixmap"></a>TQGLWidget::renderPixmap ( int&nbsp;w = 0, int&nbsp;h = 0, bool&nbsp;useContext = false )<tt> [virtual]</tt>
</h3>
Renders the current scene on a pixmap and returns the pixmap.
<p> You can use this method on both visible and invisible TQGLWidgets.
@@ -462,9 +462,9 @@ original GL context is restored.
<p> The size of the pixmap will be <em>w</em> pixels wide and <em>h</em> pixels
high unless one of these parameters is 0 (the default), in which
case the pixmap will have the same size as the widget.
-<p> If <em>useContext</em> is TRUE, this method will try to be more
+<p> If <em>useContext</em> 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.
+The default is false. Only use true if you understand the risks.
<p> Overlays are not rendered onto the pixmap.
<p> If the GL rendering context and the desktop have different bit
depths, the result will most likely look surprising.
@@ -531,9 +531,9 @@ already been done when this function is called.
<h3 class=fn>void <a name="setAutoBufferSwap"></a>TQGLWidget::setAutoBufferSwap ( bool&nbsp;on )<tt> [protected]</tt>
</h3>
-<p> If <em>on</em> is TRUE automatic GL buffer swapping is switched on;
+<p> If <em>on</em> is true automatic GL buffer swapping is switched on;
otherwise it is switched off.
-<p> If <em>on</em> is TRUE and the widget is using a double-buffered format,
+<p> If <em>on</em> is true and the widget is using a double-buffered format,
the background and foreground GL buffers will automatically be
swapped after each <a href="#paintGL">paintGL</a>() call.
<p> The buffer auto-swapping is on by default.