Author: matt
Date: 2008-02-25 06:14:52 -0800 (Mon, 25 Feb 2008)
New Revision: 6044
Log:
Added STR #1859 as a fluid documentation sub chapter
Modified:
branches/branch-1.1/documentation/fluid.html
Modified: branches/branch-1.1/documentation/fluid.html
===================================================================
--- branches/branch-1.1/documentation/fluid.html 2008-02-25 13:09:30 UTC
(rev 6043)
+++ branches/branch-1.1/documentation/fluid.html 2008-02-25 14:14:52 UTC
(rev 6044)
@@ -5,11 +5,23 @@
<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
-("FLUID") to create your GUIs.
+<P>This chapter shows how to use the Fast Light User-Interface Designer
+("FLUID") 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
edits and saves its state in <TT>.fl</TT> files. These files
@@ -50,7 +62,7 @@
<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 @@
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
"compiler" to create the <TT>.cxx</TT> and <TT>.h</TT>
@@ -125,7 +137,7 @@
fluid -c $<
</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 @@
<!-- 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 @@
<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>
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit