summaryrefslogtreecommitdiff
path: root/FL/Fl_Gl_Window.H
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-09-15 19:21:20 +0000
committerFabien Costantini <fabien@onepost.net>2008-09-15 19:21:20 +0000
commita99524ef2d24ce14334a171b9de29dfdf93928cd (patch)
tree7ba7def7dff3d6169377f187779de7c6369bea1c /FL/Fl_Gl_Window.H
parent527351b70232f2195c3e105d0fe4daa2860611af (diff)
Doxygen documentation. Completed Fl class, added a todo related to recent Fl API to document. Matt?. More cosmetics have been done, replaced *all* <pre> </pre> tags by \code \endcode sequences.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Gl_Window.H')
-rw-r--r--FL/Fl_Gl_Window.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H
index ce081973c..af7b5f910 100644
--- a/FL/Fl_Gl_Window.H
+++ b/FL/Fl_Gl_Window.H
@@ -85,7 +85,7 @@ public:
after</I> draw() is called. You can use this inside your
draw() method to avoid unneccessarily initializing the OpenGL
context. Just do this:
- <UL><PRE>
+ \code
void mywindow::draw() {
if (!valid()) {
glViewport(0,0,w(),h());
@@ -97,7 +97,7 @@ public:
}
... draw your geometry here ...
}
- </PRE></UL>
+ \endcode
You can turn valid() on by calling valid(1). You
should only do this after fixing the transformation inside a draw()