diff options
Diffstat (limited to 'doc/html/opengl-x11-overlays.html')
-rw-r--r-- | doc/html/opengl-x11-overlays.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/opengl-x11-overlays.html b/doc/html/opengl-x11-overlays.html index bda83c3c6..d2defafbc 100644 --- a/doc/html/opengl-x11-overlays.html +++ b/doc/html/opengl-x11-overlays.html @@ -72,14 +72,14 @@ information. visual, while all other widgets will use the overlay visual. Thus, we can place a normal widget on top of the TQGLWidget, and do drawing on it, without destroying the image in the OpenGL window. In other words, -we can use all the drawing capabilities of <a href="ntqpainter.html">TQPainter</a> to draw the +we can use all the drawing capabilities of <a href="tqpainter.html">TQPainter</a> to draw the annotations, rubberbands, etc. For the typical use of overlays, this is much easier than using OpenGL for rendering the annotations. <p> An overlay plane has a specific color called the transparent color. Pixels drawn in this color will not be visible; instead the underlying OpenGL image will show through. In the example program <a href="opengl-overlay-example.html">X11 overlay</a>, the file -<tt>main.cpp</tt> contains a routine that returns a <a href="ntqcolor.html">TQColor</a> containing the +<tt>main.cpp</tt> contains a routine that returns a <a href="tqcolor.html">TQColor</a> containing the transparent color. For the overlay widget, you will typically want to set the background color to the transparent color, so that the OpenGL image shows through except where explicitly overpainted. |