diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/qglformat.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/qglformat.html')
-rw-r--r-- | doc/html/qglformat.html | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/html/qglformat.html b/doc/html/qglformat.html index 4eb3057ea..0b970f458 100644 --- a/doc/html/qglformat.html +++ b/doc/html/qglformat.html @@ -34,8 +34,8 @@ body { background: #ffffff; color: black; } <p>The TQGLFormat class specifies the display format of an OpenGL rendering context. <a href="#details">More...</a> -<p><tt>#include <<a href="qgl-h.html">qgl.h</a>></tt> -<p>Inherits <a href="qgl.html">TQGL</a>. +<p><tt>#include <<a href="qgl-h.html">ntqgl.h</a>></tt> +<p>Inherits <a href="ntqgl.html">TQGL</a>. <p><a href="qglformat-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -131,7 +131,7 @@ requested features the system was able to provide: if ( !w->format().stereo() ) { // ok, goggles off if ( !w->format().hasOverlay() ) { - <a href="qapplication.html#qFatal">qFatal</a>( "Cool hardware required" ); + <a href="ntqapplication.html#qFatal">qFatal</a>( "Cool hardware required" ); } } </pre> @@ -161,27 +161,27 @@ Constructs a TQGLFormat object with the factory default settings: </h3> Creates a TQGLFormat object that is a copy of the current <a href="#defaultFormat">application default format</a>. <p> If <em>options</em> is not 0, this copy is modified by these format -options. The <em>options</em> parameter should be <a href="qgl.html#FormatOption-enum">FormatOption</a> values +options. The <em>options</em> parameter should be <a href="ntqgl.html#FormatOption-enum">FormatOption</a> values OR'ed together. <p> This constructor makes it easy to specify a certain desired format in classes derived from <a href="qglwidget.html">TQGLWidget</a>, for example: <pre> // The rendering in MyGLWidget depends on using // stencil buffer and alpha channel - MyGLWidget::MyGLWidget( <a href="qwidget.html">TQWidget</a>* parent, const char* name ) + MyGLWidget::MyGLWidget( <a href="ntqwidget.html">TQWidget</a>* parent, const char* name ) : <a href="qglwidget.html">TQGLWidget</a>( <a href="#TQGLFormat">TQGLFormat</a>( StencilBuffer | AlphaChannel ), parent, name ) { if ( !format().stencil() ) - <a href="qapplication.html#qWarning">qWarning</a>( "Could not get stencil buffer; results will be suboptimal" ); + <a href="ntqapplication.html#qWarning">qWarning</a>( "Could not get stencil buffer; results will be suboptimal" ); if ( !format().alphaChannel() ) - <a href="qapplication.html#qWarning">qWarning</a>( "Could not get alpha channel; results will be suboptimal" ); + <a href="ntqapplication.html#qWarning">qWarning</a>( "Could not get alpha channel; results will be suboptimal" ); ... } </pre> -<p> Note that there are <a href="qgl.html#FormatOption-enum">FormatOption</a> values to turn format settings -both on and off, e.g. <a href="qgl.html#FormatOption-enum">DepthBuffer</a> and <a href="qgl.html#FormatOption-enum">NoDepthBuffer</a>, -<a href="qgl.html#FormatOption-enum">DirectRendering</a> and <a href="qgl.html#FormatOption-enum">IndirectRendering</a>, etc. +<p> Note that there are <a href="ntqgl.html#FormatOption-enum">FormatOption</a> values to turn format settings +both on and off, e.g. <a href="ntqgl.html#FormatOption-enum">DepthBuffer</a> and <a href="ntqgl.html#FormatOption-enum">NoDepthBuffer</a>, +<a href="ntqgl.html#FormatOption-enum">DirectRendering</a> and <a href="ntqgl.html#FormatOption-enum">IndirectRendering</a>, etc. <p> The <em>plane</em> parameter defaults to 0 and is the plane which this format should be associated with. Not all OpenGL implmentations supports overlay/underlay rendering planes. @@ -256,7 +256,7 @@ FALSE. Double buffering is enabled by default. <p> Returns TRUE if the window system has any OpenGL support; otherwise returns FALSE. -<p> <b>Warning:</b> This function must not be called until the <a href="qapplication.html">TQApplication</a> +<p> <b>Warning:</b> This function must not be called until the <a href="ntqapplication.html">TQApplication</a> object has been created. <h3 class=fn>bool <a name="hasOpenGLOverlays"></a>TQGLFormat::hasOpenGLOverlays ()<tt> [static]</tt> @@ -264,7 +264,7 @@ object has been created. <p> Returns TRUE if the window system supports OpenGL overlays; otherwise returns FALSE. -<p> <b>Warning:</b> This function must not be called until the <a href="qapplication.html">TQApplication</a> +<p> <b>Warning:</b> This function must not be called until the <a href="ntqapplication.html">TQApplication</a> object has been created. <h3 class=fn>bool <a name="hasOverlay"></a>TQGLFormat::hasOverlay () const @@ -313,7 +313,7 @@ Sets a new default TQGLFormat for the application to <em>f</em>. For example, to set single buffering as the default instead of double buffering, your main() might contain code like this: <pre> - <a href="qapplication.html">TQApplication</a> a(argc, argv); + <a href="ntqapplication.html">TQApplication</a> a(argc, argv); TQGLFormat f; f.<a href="#setDoubleBuffer">setDoubleBuffer</a>( FALSE ); TQGLFormat::<a href="#setDefaultFormat">setDefaultFormat</a>( f ); @@ -339,7 +339,7 @@ underlying OpenGL system was able to provide the requested specification: <p> <pre> // ...continued from above - MyGLWidget* myWidget = new MyGLWidget( <a href="#TQGLFormat">TQGLFormat</a>( TQGL::<a href="qgl.html#FormatOption-enum">HasOverlay</a> ), ... ); + MyGLWidget* myWidget = new MyGLWidget( <a href="#TQGLFormat">TQGLFormat</a>( TQGL::<a href="ntqgl.html#FormatOption-enum">HasOverlay</a> ), ... ); if ( myWidget->format().hasOverlay() ) { // Yes, we got an overlay, let's check _its_ format: <a href="qglcontext.html">TQGLContext</a>* olContext = myWidget->overlayContext(); @@ -386,7 +386,7 @@ exchange the screen contents with the buffer. The result is flicker-free drawing and often better performance. <p> <p>See also <a href="#doubleBuffer">doubleBuffer</a>(), <a href="qglcontext.html#swapBuffers">TQGLContext::swapBuffers</a>(), and <a href="qglwidget.html#swapBuffers">TQGLWidget::swapBuffers</a>(). -<h3 class=fn>void <a name="setOption"></a>TQGLFormat::setOption ( <a href="qgl.html#FormatOption-enum">FormatOption</a> opt ) +<h3 class=fn>void <a name="setOption"></a>TQGLFormat::setOption ( <a href="ntqgl.html#FormatOption-enum">FormatOption</a> opt ) </h3> Sets the format option to <em>opt</em>. <p> <p>See also <a href="#testOption">testOption</a>(). @@ -456,7 +456,7 @@ FALSE. The stencil buffer is disabled by default. FALSE. Stereo buffering is disabled by default. <p> <p>See also <a href="#setStereo">setStereo</a>(). -<h3 class=fn>bool <a name="testOption"></a>TQGLFormat::testOption ( <a href="qgl.html#FormatOption-enum">FormatOption</a> opt ) const +<h3 class=fn>bool <a name="testOption"></a>TQGLFormat::testOption ( <a href="ntqgl.html#FormatOption-enum">FormatOption</a> opt ) const </h3> Returns TRUE if format option <em>opt</em> is set; otherwise returns FALSE. <p> <p>See also <a href="#setOption">setOption</a>(). |