From cf2e50b8c3aa36f85da6370336608938aa706f87 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 25 Feb 2008 14:14:52 +0000 Subject: Added STR #1859 as a fluid documentation sub chapter git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/fluid.html | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) (limited to 'documentation') 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 @@

9 - Programming with FLUID

-This chapter shows how to use the Fast Light User-Interface Designer -("FLUID") to create your GUIs. +

This chapter shows how to use the Fast Light User-Interface Designer +("FLUID") to create your GUIs.

-

What is FLUID?

+

Subchapters: +

+ +

What is FLUID?

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.

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 .cxx file.

-

Running FLUID Under UNIX

+

Running FLUID Under UNIX

To run FLUID under UNIX, type: -

A Short Tutorial

+

A Short Tutorial

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 -

FLUID Reference

+

FLUID Reference

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

The "Set" field controls the set number in the catalog file. The default set is 1 and rarely needs to be changed. +

Know limitations

+ +Declaration Blocks can be used to temporarily block out already +designed code using #if 0 and #endif +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. + -- cgit v1.2.3