diff options
Diffstat (limited to 'doc/html/qglwidget.html')
-rw-r--r-- | doc/html/qglwidget.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/qglwidget.html b/doc/html/qglwidget.html index 30e4e3512..97f33933e 100644 --- a/doc/html/qglwidget.html +++ b/doc/html/qglwidget.html @@ -98,7 +98,7 @@ The TQGLWidget class is a widget for rendering OpenGL graphics. graphics integrated into a TQt application. It is very simple to use. You inherit from it and use the subclass like any other <a href="tqwidget.html">TQWidget</a>, except that instead of drawing the widget's contents -using <a href="ntqpainter.html">TQPainter</a> etc. you use the standard OpenGL rendering +using <a href="tqpainter.html">TQPainter</a> etc. you use the standard OpenGL rendering commands. <p> TQGLWidget provides three convenient virtual functions that you can reimplement in your subclass to perform the typical OpenGL tasks: @@ -413,7 +413,7 @@ need to issue OpenGL commands to the overlay context outside of has no overlay. <p> <p>See also <a href="#context">context</a>(). -<h3 class=fn>void <a name="paintEvent"></a>TQGLWidget::paintEvent ( <a href="qpaintevent.html">TQPaintEvent</a> * )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="paintEvent"></a>TQGLWidget::paintEvent ( <a href="tqpaintevent.html">TQPaintEvent</a> * )<tt> [virtual protected]</tt> </h3> Handles paint events. Will cause the virtual <a href="#paintGL">paintGL</a>() function to be called. @@ -438,19 +438,19 @@ Reimplement it in a subclass. <p> There is no need to call <a href="#makeOverlayCurrent">makeOverlayCurrent</a>() because this has already been done when this function is called. -<h3 class=fn>void <a name="qglClearColor"></a>TQGLWidget::qglClearColor ( const <a href="ntqcolor.html">TQColor</a> & c ) const +<h3 class=fn>void <a name="qglClearColor"></a>TQGLWidget::qglClearColor ( const <a href="tqcolor.html">TQColor</a> & c ) const </h3> Convenience function for specifying the clearing color to OpenGL. Calls glClearColor (in RGBA mode) or glClearIndex (in color-index mode) with the color <em>c</em>. Applies to the current GL context. -<p> <p>See also <a href="#qglColor">qglColor</a>(), <a href="qglcontext.html#currentContext">TQGLContext::currentContext</a>(), and <a href="ntqcolor.html">TQColor</a>. +<p> <p>See also <a href="#qglColor">qglColor</a>(), <a href="qglcontext.html#currentContext">TQGLContext::currentContext</a>(), and <a href="tqcolor.html">TQColor</a>. -<h3 class=fn>void <a name="qglColor"></a>TQGLWidget::qglColor ( const <a href="ntqcolor.html">TQColor</a> & c ) const +<h3 class=fn>void <a name="qglColor"></a>TQGLWidget::qglColor ( const <a href="tqcolor.html">TQColor</a> & c ) const </h3> Convenience function for specifying a drawing color to OpenGL. 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="qglcontext.html#currentContext">TQGLContext::currentContext</a>(), and <a href="ntqcolor.html">TQColor</a>. +<p> <p>See also <a href="#qglClearColor">qglClearColor</a>(), <a href="qglcontext.html#currentContext">TQGLContext::currentContext</a>(), and <a href="tqcolor.html">TQColor</a>. <h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> <a name="renderPixmap"></a>TQGLWidget::renderPixmap ( int w = 0, int h = 0, bool useContext = FALSE )<tt> [virtual]</tt> </h3> @@ -474,7 +474,7 @@ frustum etc. should be done from within initializeGL(). If this is not done, the temporary TQGLContext will not be initialized properly, and the rendered pixmap may be incomplete/corrupted. -<h3 class=fn>void <a name="renderText"></a>TQGLWidget::renderText ( int x, int y, const <a href="tqstring.html">TQString</a> & str, const <a href="ntqfont.html">TQFont</a> & fnt = TQFont ( ), int listBase = 2000 ) +<h3 class=fn>void <a name="renderText"></a>TQGLWidget::renderText ( int x, int y, const <a href="tqstring.html">TQString</a> & str, const <a href="tqfont.html">TQFont</a> & fnt = TQFont ( ), int listBase = 2000 ) </h3> Renders the string <em>str</em> into the GL context of this widget. <p> <em>x</em> and <em>y</em> are specified in window coordinates, with the origin @@ -496,7 +496,7 @@ change this value unless you are using lists in the same range. The lists are deleted when the widget is destroyed. <p> Note: This function only works reliably with ASCII strings. -<h3 class=fn>void <a name="renderText-2"></a>TQGLWidget::renderText ( double x, double y, double z, const <a href="tqstring.html">TQString</a> & str, const <a href="ntqfont.html">TQFont</a> & fnt = TQFont ( ), int listBase = 2000 ) +<h3 class=fn>void <a name="renderText-2"></a>TQGLWidget::renderText ( double x, double y, double z, const <a href="tqstring.html">TQString</a> & str, const <a href="tqfont.html">TQFont</a> & fnt = TQFont ( ), int listBase = 2000 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <em>x</em>, <em>y</em> and <em>z</em> are specified in scene or object coordinates relative to the currently set projection and model matrices. This |