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/opengl-x11-overlays.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/opengl-x11-overlays.html')
-rw-r--r-- | doc/html/opengl-x11-overlays.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/opengl-x11-overlays.html b/doc/html/opengl-x11-overlays.html index df139e84d..bda83c3c6 100644 --- a/doc/html/opengl-x11-overlays.html +++ b/doc/html/opengl-x11-overlays.html @@ -72,19 +72,19 @@ 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="qpainter.html">TQPainter</a> to draw the +we can use all the drawing capabilities of <a href="ntqpainter.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="qcolor.html">TQColor</a> containing the +<tt>main.cpp</tt> contains a routine that returns a <a href="ntqcolor.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. <p> Note: to use this technique, you must not use the "ManyColor" or -"TrueColor" ColorSpec for <a href="qapplication.html">TQApplication</a>, because this will force +"TrueColor" ColorSpec for <a href="ntqapplication.html">TQApplication</a>, because this will force the normal TQt widgets to use a TrueColor visual, which will typically be in the main plane, not in the overlay plane as desired. <p> <a name="x11visuals"></a> |