diff options
Diffstat (limited to 'doc/man/man3/tqglcontext.3qt')
-rw-r--r-- | doc/man/man3/tqglcontext.3qt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqglcontext.3qt b/doc/man/man3/tqglcontext.3qt index 3a584619f..e48ad5b37 100644 --- a/doc/man/man3/tqglcontext.3qt +++ b/doc/man/man3/tqglcontext.3qt @@ -147,7 +147,7 @@ The algorithm for reducing the demands of the format is quite simple-minded, so .PP See also chooseContext(). .SH "bool TQGLContext::create ( const TQGLContext * shareContext = 0 )\fC [virtual]\fR" -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 context is invalid). +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 context is invalid). .PP After successful creation, format() returns the set of features of the created GL rendering context. .PP @@ -165,7 +165,7 @@ Returns the paint device set for this context. .PP See also TQGLContext::TQGLContext(). .SH "bool TQGLContext::deviceIsPixmap () const\fC [protected]\fR" -Returns TRUE if the paint device of this context is a pixmap; otherwise returns FALSE. +Returns true if the paint device of this context is a pixmap; otherwise returns false. .SH "void TQGLContext::doneCurrent ()\fC [virtual protected]\fR" Makes no GL context the current context. Normally, you do not need to call this function; TQGLContext calls it as necessary. .SH "TQGLFormat TQGLContext::format () const" @@ -177,13 +177,13 @@ Generates a set of 256 display lists for the 256 first characters in the font \f .PP See also TQGLWidget::renderText(). .SH "bool TQGLContext::initialized () const\fC [protected]\fR" -Returns TRUE if this context has been initialized, i.e. if TQGLWidget::initializeGL() has been performed on it; otherwise returns FALSE. +Returns true if this context has been initialized, i.e. if TQGLWidget::initializeGL() has been performed on it; otherwise returns false. .PP See also setInitialized(). .SH "bool TQGLContext::isSharing () const" -Returns TRUE if display list sharing with another context was requested in the create() call and the GL system was able to fulfill this request; otherwise returns FALSE. Note that display list sharing might not be supported between contexts with different formats. +Returns true if display list sharing with another context was requested in the create() call and the GL system was able to fulfill this request; otherwise returns false. Note that display list sharing might not be supported between contexts with different formats. .SH "bool TQGLContext::isValid () const" -Returns TRUE if a GL rendering context has been successfully created; otherwise returns FALSE. +Returns true if a GL rendering context has been successfully created; otherwise returns false. .SH "void TQGLContext::makeCurrent ()\fC [virtual]\fR" Makes this context the current OpenGL rendering context. All GL functions you call operate on this context until another context is made current. .PP @@ -215,7 +215,7 @@ Call create() to create a new GL context that tries to match the new format. .br TQGLFormat f; .br - f.setStereo( TRUE ); + f.setStereo( true ); .br cx->setFormat( f ); .br @@ -231,11 +231,11 @@ Call create() to create a new GL context that tries to match the new format. .PP See also format(), reset(), and create(). .SH "void TQGLContext::setInitialized ( bool on )\fC [protected]\fR" -If \fIon\fR is TRUE the context has been initialized, i.e. TQGLContext::setInitialized() has been called on it. If \fIon\fR is FALSE the context has not been initialized. +If \fIon\fR is true the context has been initialized, i.e. TQGLContext::setInitialized() has been called on it. If \fIon\fR is false the context has not been initialized. .PP See also initialized(). .SH "void TQGLContext::setWindowCreated ( bool on )\fC [protected]\fR" -If \fIon\fR is TRUE the context has had a window created for it. If \fIon\fR is FALSE no window has been created for the context. +If \fIon\fR is true the context has had a window created for it. If \fIon\fR is false no window has been created for the context. .PP See also windowCreated(). .SH "void TQGLContext::swapBuffers () const\fC [virtual]\fR" @@ -243,7 +243,7 @@ Swaps the screen contents with an off-screen buffer. Only works if the context i .PP See also TQGLFormat::setDoubleBuffer(). .SH "bool TQGLContext::windowCreated () const\fC [protected]\fR" -Returns TRUE if a window has been created for this context; otherwise returns FALSE. +Returns true if a window has been created for this context; otherwise returns false. .PP See also setWindowCreated(). |