FLUID

FLUID

FLUID (Fast Light User Interface Designer) is a graphical editor that is 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 (i.e. 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 is 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 does not 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.


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?
Synonyms:

Look at other dictionaries:

  • FLUID — Saltar a navegación, búsqueda Ventana de FLUID FLUID (del Inglés, Fast Light User Interface Designer) es un editor gráfico que facilita el diseño de la interfaz gráfica de usuario (IGU) de programas basados en la biblioteca FLTK. FLUID genera los …   Wikipedia Español

  • Fluid — Flu id, n. A fluid substance; a body whose particles move easily among themselves. [1913 Webster] Note: Fluid is a generic term, including liquids and gases as species. Water, air, and steam are fluids. By analogy, the term was sometimes applied… …   The Collaborative International Dictionary of English

  • fluid — FLUÍD, Ă, fluizi, de, adj., s.n. 1. adj. (Despre corpuri) Cu coeziune slabă între molecule. 2. s.n. Corp lichid sau gazos care îşi schimbă forma sub acţiunea unei forţe foarte mici. 3. s.n. Suflu, impuls, curent; emanaţie. – Din fr. fluide, lat.… …   Dicționar Român

  • fluid — [flo͞o′id] adj. [ME < L fluidus < fluere, to flow: see FLUCTUATE] 1. that can flow; not solid; able to move and change shape without separating when under pressure 2. of a fluid or fluids 3. like a fluid; that can change rapidly or easily;… …   English World dictionary

  • fluid — [adj1] liquid aqueous, flowing, fluent, in solution, juicy, liquefied, lymphatic, melted, molten, running, runny, serous, uncongealed, watery; concepts 603,757 Ant. solid fluid [adj2] adaptable, changeable adjustable, changeful, flexible,… …   New thesaurus

  • fluid — (adj.) early 15c., from M.Fr. fluide (14c.) and directly from L. fluidus fluid, flowing, moist, from fluere to flow (see FLUENT (Cf. fluent)). Figurative use from 1640s. The noun is 1660s, from the adjective. Related: Fluidly …   Etymology dictionary

  • fluid — adj *liquid Analogous words: liquefied, melted, fused, deliquesced or deliquescent (see corresponding verbs at LIQUEFY) fluid n liquid (see under LIQUID adj) Antonyms: solid …   New Dictionary of Synonyms

  • Fluid — Flu id (fl[=u] [i^]d), a. [L. fluidus, fr. fluere to flow: cf. F. fluide. See {Fluent}.] Having particles which easily move and change their relative position without a separation of the mass, and which easily yield to pressure; capable of… …   The Collaborative International Dictionary of English

  • Fluīd — (v. lat.), 1) flüssig; 2) ungezwungen; daher Fluĭdum, Flüssigkeit. Fluidĭtät, die Eigenschaft des Flüssigseins. Fluidification, Flüssigmachung …   Pierer's Universal-Lexikon

  • Fluid — (lat.), flüssig …   Kleines Konversations-Lexikon

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”