mirror of
https://github.com/fltk/fltk.git
synced 2026-06-07 09:13:58 +08:00
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:
@@ -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
|
||||
"cube" demo included with FLTK.
|
||||
<ul><pre>
|
||||
#include "CubeView.hpp"
|
||||
#include "CubeView.h"
|
||||
#include <math.h>
|
||||
|
||||
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 "Class:" 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 "Extra
|
||||
Code:" field enter <tt>#include "CubeView.hpp"</tt>
|
||||
Code:" field enter <tt>#include "CubeView.h"</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.
|
||||
|
||||
Reference in New Issue
Block a user