diff options
Diffstat (limited to 'documentation/fluid.dox')
| -rw-r--r-- | documentation/fluid.dox | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/documentation/fluid.dox b/documentation/fluid.dox index b29156713..17b25297d 100644 --- a/documentation/fluid.dox +++ b/documentation/fluid.dox @@ -10,23 +10,23 @@ <LI><A HREF="#what_is_fluid">What is FLUID</A></LI> <LI><A HREF="#fluid_under_linux">Running FLUID Under UNIX</A></LI> <LI><A HREF="#fluid_under_windows">Running FLUID Under Microsoft Windows</A></LI> -<LI><A HREF="#compiling_fl_files">Compiling <TT>.fl</TT> files</A></LI> +<LI><A HREF="#compiling_fl_files">Compiling <TT>.fl</TT> Files</A></LI> <LI><A HREF="#tutorial">A Short Tutorial</A></LI> <LI><A HREF="#references">FLUID Reference</A></LI> <LI><A HREF="#I18N">Internationalization with FLUID</A></LI> -<LI><A HREF="#limitations">Know limitations</A></LI> +<LI><A HREF="#limitations">Known Limitations</A></LI> </UL></P> <H2><A NAME="what_is_fluid">What is FLUID?</A></H2> <P>The Fast Light User Interface Designer, or FLUID, is a graphical editor that is used to produce FLTK source code. FLUID -edits and saves its state in <TT>.fl</TT> files. These files +edits and saves its state in <TT>.fl</TT> files. These files are text, and you can (with care) edit them in a text editor, perhaps to get some special effects.</P> <P>FLUID can "compile" the <TT>.fl</TT> file into a -<TT>.cxx</TT> and a <TT>.h</TT> file. The <TT>.cxx</TT> file +<TT>.cxx</TT> and a <TT>.h</TT> file. The <TT>.cxx</TT> file defines all the objects from the <TT>.fl</TT> file and the <TT>.h</TT> file declares all the global ones. FLUID also supports localization (<A HREF="#I18N">Internationalization</A>) @@ -162,7 +162,7 @@ The CubeView class is a subclass of Fl_Gl_Window. It has methods for setting the zoom, the <i>x</i> and <i>y</i> pan, and the rotation angle about the <i>x</i> and <i>y</i>axes. <p>You can safely skip this section as long as you realize the CubeView -is a sublass of <tt>Fl_Gl_Window</tt> and will respond to calls from +is a sublass of Fl_Gl_Window 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 @@ -405,16 +405,17 @@ shortly. defined the CubeView class and we would like to show it within the CubeViewUI. -<p>The CubeView class inherits the <tt>Fl_Gl_Window</tt> class, which -is created in the same way as a <tt>Fl_Box</tt> widget. Use +<p>The CubeView class inherits the Fl_Gl_Window class, which +is created in the same way as a Fl_Box widget. Use <b>New->Other->Box</b> to add a square box to the main window. This will be no ordinary box, however. <p>The Box properties window will appear. The key to letting CubeViewUI 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.h"</tt> +entry box. This tells FLUID that it is not an Fl_Box, but a +similar widget with the same constructor. + +In the "Extra 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 |
