Everything about Fluid totally explained
FLUID (
Fast
Light
User Interface Designer) is a graphical editor that's used to produce
FLTK source code. FLUID edits and saves its state in text .fl files, which can be edited in a text editor for finer control over display and behavior.
After designing the application, FLUID compiles the .fl file into a .cxx file, which defines all the objects from the .fl file, and an
.h file, which declares all the global ones. FLUID also supports
localization of label strings using message files and the
GNU gettext or
POSIX catgets interfaces.
A simple program can be made by putting all non-interface code (including a
main function) into the .fl file, thus making the .cxx file a single source file to compile. Most programs are more complex than this, so other .cxx files can be written that call the FLUID functions. These .cxx files must #include the .h file, or they can #include the .cxx file so it still appears to be a single source file.
Normally the FLUID file defines one or more functions or classes, which output
C++ code. Each function defines a one or more FLTK windows, and all the widgets that go inside those windows.
Widgets created by FLUID are either "named", "complex named", or "unnamed". A named widget has a legal C++ variable identifier as its name (for example only alphanumeric and underscore), and is defined by a global variable or class member that will point at the widget after the function defining it's called. A complex named object has punctuation such as '.' or '->' or any other symbols in its name. In this case, FLUID assigns a pointer to the widget to the name, but doesn't attempt to declare it. This can be used to get the widgets into 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.
Further Information
Get more info on 'Fluid'.
|
External Link Exchanges
Do you know how hard it is to get a link from a large encyclopaedia? Well we're different and will prove it. To get a link from us just add the following HTML to your site on a relevant page:
<a href="http://fluid.totallyexplained.com">FLUID Totally Explained</a>
Then simply click through this link from your web page. Our crawlers will verify your link, extract the title of your web page and instantly add a link back to it. If you like you can remove the words Totally Explained and embed the link in article text.
As long as your link remains in place, we'll keep our link to you right here. Please play fair - our crawlers are watching. Your site must be closely related to this one's topic. Any kind of spamming, dubious practises or removing the link will result in your link from us being dropped and, potentially, your whole site being banned. |