diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqglcontext.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqglcontext.html')
-rw-r--r-- | doc/html/tqglcontext.html | 34 |
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 <a href="tqglcontext.html">TQGLContext</a> * 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-><a href="#setFormat">setFormat</a>( f ); if ( !cx-><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 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 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 --> |