summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/fluid.html37
1 files changed, 29 insertions, 8 deletions
diff --git a/documentation/fluid.html b/documentation/fluid.html
index 2cb7a2508..7ccec9f9c 100644
--- a/documentation/fluid.html
+++ b/documentation/fluid.html
@@ -5,10 +5,22 @@
<BODY>
<H1 ALIGN="RIGHT"><A NAME="FLUID">9 - Programming with FLUID</A></H1>
-This chapter shows how to use the Fast Light User-Interface Designer
-(&quot;FLUID&quot;) to create your GUIs.
+<P>This chapter shows how to use the Fast Light User-Interface Designer
+(&quot;FLUID&quot;) to create your GUIs.</P>
-<H2>What is FLUID?</H2>
+<P>Subchapters:
+<UL>
+<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="#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>
+</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
@@ -50,7 +62,7 @@ structures. An unnamed widget has a blank name and no pointer is stored.</P>
<P>Widgets may either call a named callback function that you write in
another source file, or you can supply a small piece of C++ source and
FLUID will write a private callback function into the <TT>.cxx</TT> file.</P>
-<H2>Running FLUID Under UNIX</H2>
+<H2><A NAME="fluid_under_linux">Running FLUID Under UNIX</A></H2>
To run FLUID under UNIX, type:
<UL>
<PRE>
@@ -86,13 +98,13 @@ background with '&amp;' then you will be able to abort FLUID by
typing <KBD>CTRL-C</KBD> on the terminal. It will exit
immediately, losing any changes.</P>
-<H2>Running FLUID Under Microsoft Windows</H2>
+<H2><A NAME="fluid_under_windows">Running FLUID Under Microsoft Windows</A></H2>
<P>To run FLUID under WIN32, double-click on the <I>FLUID.exe</I>
file. You can also run FLUID from the Command Prompt window.
FLUID always runs in the background under WIN32.
-<H2>Compiling <TT>.fl</TT> files</H2>
+<H2><A NAME="compiling_fl_files">Compiling <TT>.fl</TT> files</A></H2>
<P>FLUID can also be called as a command-line
&quot;compiler&quot; to create the <TT>.cxx</TT> and <TT>.h</TT>
@@ -125,7 +137,7 @@ files to be compiled:
fluid -c $&lt;
</PRE></UL>
-<H2>A Short Tutorial</H2>
+<H2><A NAME="tutorial">A Short Tutorial</A></H2>
<P>FLUID is an amazingly powerful little program. However, this
power comes at a price as it is not always obvious how to
@@ -478,7 +490,7 @@ extensions and you are in business. You can include the CubeViewUI.h
<!-- NEW PAGE -->
-<H2>FLUID Reference</H2>
+<H2><A NAME="references">FLUID Reference</A></H2>
<P>The following sections describe each of the windows in FLUID.
@@ -1338,5 +1350,14 @@ file to be used for all of the windows defined in your
<P>The "Set" field controls the set number in the catalog file.
The default set is 1 and rarely needs to be changed.
+<H2><A NAME="limitations">Know limitations</A></H2>
+
+Declaration Blocks can be used to temporarily block out already
+designed code using <code>#if 0</code> and <code>#endif</code>
+type construction. This will effectively avoid compilation of
+blocks of code. However, static code and data generated by this
+segment (menu items, images, include statements, etc.) will still
+be generated and likely cause compile-time warnings.
+
</BODY>
</HTML>