summaryrefslogtreecommitdiff
path: root/documentation/opengl.html
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-09-30 20:25:36 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-09-30 20:25:36 +0000
commit2c61d60470b0583614437950066b2f63c4ac2782 (patch)
treef32ab07a4acdbfca9f3389ec851dc5c4b9e09653 /documentation/opengl.html
parenteb9a83b3483608286be0a9ead6b98938d21370f3 (diff)
Documentation updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/opengl.html')
-rw-r--r--documentation/opengl.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/opengl.html b/documentation/opengl.html
index 9ccd30c42..a5336af42 100644
--- a/documentation/opengl.html
+++ b/documentation/opengl.html
@@ -21,7 +21,7 @@ To make a subclass of Fl_Gl_Window, you must provide:
<UL>
<LI>A class definition. </LI>
<LI>A <TT>draw()</TT> method. </LI>
-<LI>A <TT>handle()</TT> method (if you need to recieve input from the
+<LI>A <TT>handle()</TT> method (if you need to receive input from the
user). </LI>
</UL>
If your subclass provides static controls in the window, they must be
@@ -142,7 +142,7 @@ the FLUID output file will compile. </LI>
You must put <TT>glwindow-&gt;show()</TT> in your main code after calling <TT>
show()</TT> on the window containing the OpenGL window.
<H2>Using OpenGL in Normal FLTK Windows</H2>
-You can put OpenGL code into an <A href=#draw><TT>Fl_Widget::draw()</TT>
+You can put OpenGL code into an <A href="subclassing.html#draw"><TT>Fl_Widget::draw()</TT>
</A> method or into the code for a <A href=common.html#boxtypes>boxtype</A>
or other places with some care.
<P>Most importantly, before you show <I>any</I> windows (including those
@@ -223,7 +223,7 @@ the current OpenGL font at the given position.
<H4>void gl_draw(const char *, int x, int y, int w, int h, Fl_Align)</H4>
Draw a string formatted into a box, with newlines and tabs expanded,
other control characters changed to ^X, and aligned with the edges or
-center. Exactly the same output as <A href=#fl_draw><TT>fl_draw()</TT></A>
+center. Exactly the same output as <A href="drawing.html#text"><TT>fl_draw()</TT></A>
.