summaryrefslogtreecommitdiffstats
path: root/doc/html/tqglcontext.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqglcontext.html')
-rw-r--r--doc/html/tqglcontext.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/tqglcontext.html b/doc/html/tqglcontext.html
index 11bf59087..e12430327 100644
--- a/doc/html/tqglcontext.html
+++ b/doc/html/tqglcontext.html
@@ -161,9 +161,9 @@ application has spcific requirements on visual selection.
<h3 class=fn>bool <a name="create"></a>TQGLContext::create ( const&nbsp;<a href="tqglcontext.html">TQGLContext</a>&nbsp;*&nbsp;shareContext = 0 )<tt> [virtual]</tt>
</h3>
-Creates the GL context. Returns TRUE if it was successful in
+Creates the GL context. Returns true if it was successful in
creating a valid GL rendering context on the paint device
-specified in the constructor; otherwise returns FALSE (i.e. the
+specified in the constructor; otherwise returns false (i.e. the
context is invalid).
<p> After successful creation, <a href="#format">format</a>() returns the set of features of
the created GL rendering context.
@@ -200,8 +200,8 @@ current.
<h3 class=fn>bool <a name="deviceIsPixmap"></a>TQGLContext::deviceIsPixmap () const<tt> [protected]</tt>
</h3>
-<p> Returns TRUE if the paint device of this context is a pixmap;
-otherwise returns FALSE.
+<p> Returns true if the paint device of this context is a pixmap;
+otherwise returns false.
<h3 class=fn>void <a name="doneCurrent"></a>TQGLContext::doneCurrent ()<tt> [virtual protected]</tt>
</h3>
@@ -226,25 +226,25 @@ in the font <em>font</em>. The first list will start at index <em>listBase</em>.
<h3 class=fn>bool <a name="initialized"></a>TQGLContext::initialized () const<tt> [protected]</tt>
</h3>
-<p> Returns TRUE if this context has been initialized, i.e. if
+<p> Returns true if this context has been initialized, i.e. if
<a href="tqglwidget.html#initializeGL">TQGLWidget::initializeGL</a>() has been performed on it; otherwise
-returns FALSE.
+returns false.
<p> <p>See also <a href="#setInitialized">setInitialized</a>().
<h3 class=fn>bool <a name="isSharing"></a>TQGLContext::isSharing () const
</h3>
-<p> Returns TRUE if display list sharing with another context was
+<p> Returns true if display list sharing with another context was
requested in the <a href="#create">create</a>() call and the GL system was able to
-fulfill this request; otherwise returns FALSE. Note that display
+fulfill this request; otherwise returns false. Note that display
list sharing might not be supported between contexts with
different formats.
<h3 class=fn>bool <a name="isValid"></a>TQGLContext::isValid () const
</h3>
-<p> Returns TRUE if a GL rendering context has been successfully
-created; otherwise returns FALSE.
+<p> Returns true if a GL rendering context has been successfully
+created; otherwise returns false.
<h3 class=fn>void <a name="makeCurrent"></a>TQGLContext::makeCurrent ()<tt> [virtual]</tt>
</h3>
@@ -291,7 +291,7 @@ new format.
TQGLContext *cx;
// ...
<a href="tqglformat.html">TQGLFormat</a> f;
- f.<a href="tqglformat.html#setStereo">setStereo</a>( TRUE );
+ f.<a href="tqglformat.html#setStereo">setStereo</a>( true );
cx-&gt;<a href="#setFormat">setFormat</a>( f );
if ( !cx-&gt;<a href="#create">create</a>() )
exit(); // no OpenGL support, or cannot render on the specified paintdevice
@@ -304,16 +304,16 @@ new format.
<h3 class=fn>void <a name="setInitialized"></a>TQGLContext::setInitialized ( bool&nbsp;on )<tt> [protected]</tt>
</h3>
-<p> If <em>on</em> is TRUE the context has been initialized, i.e.
+<p> If <em>on</em> is true the context has been initialized, i.e.
<a href="#setInitialized">TQGLContext::setInitialized</a>() has been called on it. If <em>on</em> is
-FALSE the context has not been initialized.
+false the context has not been initialized.
<p> <p>See also <a href="#initialized">initialized</a>().
<h3 class=fn>void <a name="setWindowCreated"></a>TQGLContext::setWindowCreated ( bool&nbsp;on )<tt> [protected]</tt>
</h3>
-<p> If <em>on</em> is TRUE the context has had a window created for it. If
-<em>on</em> is FALSE no window has been created for the context.
+<p> If <em>on</em> is true the context has had a window created for it. If
+<em>on</em> is false no window has been created for the context.
<p> <p>See also <a href="#windowCreated">windowCreated</a>().
<h3 class=fn>void <a name="swapBuffers"></a>TQGLContext::swapBuffers () const<tt> [virtual]</tt>
@@ -326,8 +326,8 @@ the context is in double buffer mode.
<h3 class=fn>bool <a name="windowCreated"></a>TQGLContext::windowCreated () const<tt> [protected]</tt>
</h3>
-<p> Returns TRUE if a window has been created for this context;
-otherwise returns FALSE.
+<p> Returns true if a window has been created for this context;
+otherwise returns false.
<p> <p>See also <a href="#setWindowCreated">setWindowCreated</a>().
<!-- eof -->