CubeView.h instead of CubeView.hpp

test/glpuzzle.cxx instead of test/glut.cxx


git-svn-id: file:///fltk/svn/fltk/trunk@335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 1999-02-23 16:32:46 +00:00
parent 97d0c296c3
commit baaa7760a0
2 changed files with 5 additions and 5 deletions

View File

@ -133,7 +133,7 @@ is a sublass of <tt>Fl_Gl_Window</tt> and will respond to calls from
CubeViewUI, generated by FLUID.
<h4><a name="def">The CubeView Class Definition</a></h4>
Here is the CubeView class definition, as given by its header file
"test/CubeView.hpp":
"test/CubeView.h":
<ul><pre>
class CubeView : public Fl_Gl_Window {
public:
@ -194,7 +194,7 @@ class CubeView : public Fl_Gl_Window {
Here is the CubeView implementation. It is very similar to the
&quot;cube&quot; demo included with FLTK.
<ul><pre>
#include "CubeView.hpp"
#include "CubeView.h"
#include &lt;math.h&gt;
CubeView::CubeView(int x,int y,int w,int h,const char *l)
@ -319,7 +319,7 @@ This will be no ordinary box, however.
display CubeView is to enter CubeView in the &quot;Class:&quot; text
entry box. This tells FLUID that it is not an <tt>Fl_Box</tt>, but a
similar widget with the same constructor. In the &quot;Extra
Code:&quot; field enter <tt>#include &quot;CubeView.hpp&quot;</tt>
Code:&quot; field enter <tt>#include &quot;CubeView.h&quot;</tt>
<p>This <tt>#include</tt> is important, as we have just included
CubeView as a member of CubeViewUI, so any public CubeView methods are
now available to CubeViewUI.

View File

@ -18,7 +18,7 @@ functions that FLTK does not emulate (<TT>glutExtensionsSupported()</TT>
), you will also have to link with the GLUT library (<I>after</I> the
FLTK library!) </P>
<P>Most of <TT>FL/glut.H</TT> is inline functions. You should take a
look at it (and maybe at <TT>test/glut.cxx</TT> in the FLTK source) if
look at it (and maybe at <TT>test/glpuzzle.cxx</TT> in the FLTK source) if
you are having trouble porting your GLUT program. </P>
<P>This has been tested with most of the demo programs that come with
the GLUT 3.3 distribution. </P>