summaryrefslogtreecommitdiff
path: root/fluid/README_fl.txt
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-03-16 17:16:12 -0400
committerGitHub <noreply@github.com>2025-03-16 17:16:12 -0400
commit51a55bc73660f64e8f4b32b8b4d3858f2a786f7b (patch)
tree122ad9f838fcf8f61ed7cf5fa031e8ed69817e10 /fluid/README_fl.txt
parent13a7073a1e007ce5b71ef70bced1a9b15158820d (diff)
Fluid: restructuring and rejuvenation of the source code.
* Add classes for application and project * Removed all globals from Fluid.h * Extracting args and project history into their own classes * Moving globals into Application class * Initialize values inside headers for some classes. * Undo functionality wrapped in a class inside Project. * File reader and writer are now linked to a project. * Avoid global project access * Nodes (former Types) will be managed by a new Tree class. * Removed static members (hidden globals) form Node/Fl_Type. * Adding Tree iterator. * Use nullptr instead of 0, NULL, or 0L * Renamed Fl_..._Type to ..._Node, FL_OVERRIDE -> override * Renaming ..._type to ...::prototype * Splitting Widget Panel into multiple files. * Moved callback code into widget panel file. * Cleaning up Fluid_Image -> Image_asset * Moving Fd_Snap_Action into new namespace fld::app::Snap_Action etc. * Moved mergeback into proj folder. * `enum ID` is now `enum class Type`.
Diffstat (limited to 'fluid/README_fl.txt')
-rw-r--r--fluid/README_fl.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/fluid/README_fl.txt b/fluid/README_fl.txt
index 2e69d4cfa..21486d664 100644
--- a/fluid/README_fl.txt
+++ b/fluid/README_fl.txt
@@ -293,7 +293,7 @@ Note: the hierarchical dependency is implemented twice and somewhat conflicting
The list of known Types and their inheritance is:
- Fl_Type (note: can't be written)
+ Node (note: can't be written)
+-- Function
+-- code
+-- codeblock
@@ -315,7 +315,7 @@ The list of known Types and their inheritance is:
| | +-- Fl_Tile
| | +-- Fl_Wizard
| | +-- Fl_Grid
- | +-- Fl_Menu_Type (note: can't be written)
+ | +-- Menu_Node (note: can't be written)
| | +-- Fl_Menu_Button
| | +-- Fl_Choice
| | +-- Fl_Input_Choice
@@ -373,7 +373,7 @@ are stored as "parent_properties { ...list... }". If a node encounters this
property tag, it must ask its parent to interpret the contents of that list.
See Fl_Grid for an example.
-Type Fl_Type <word>
+Type Node <word>
"uid" <4-digit-hex> : since Oct 2023, optional, a unique id for this node
within the project file
@@ -392,12 +392,12 @@ Type "Function" <word> : function signature
“C” : if set, function is extern “C”
“return_type” <word> : C or C++ type descriptor, can start with “virtual”
and/or “static” to further define the function.
- ... : inherits more from Fl_Type
+ ... : inherits more from Node
Type codeblock <word> : C++ code, for example "if (test())"
"after" <word> : C++ code or comment following the closing '}'
- ... : inherits more from Fl_Type
+ ... : inherits more from Node
Type "decl" <word> : C++ code to declare a variable or class member
@@ -405,7 +405,7 @@ Type "decl" <word> : C++ code to declare a variable or class member
defaults to "private"
none or "local" or "global": for declaration in the code body
defaults to "global"
- ... : inherits more from Fl_Type
+ ... : inherits more from Node
Type "data" <word> : C++ variable name
@@ -418,21 +418,21 @@ Type "declblock" <word> : C++ code
none or "public" or "protected" : defaults to private (obsolete)
"map" <word> : integer value, default is 2 (CODE_IN_SOURCE),
- see Fl_DeclBlock_Type::write_map_
+ see DeclBlock_Node::write_map_
"after" <word> : C++ code or comment following the block
- ... : inherits more from Fl_Type
+ ... : inherits more from Node
Type "comment" <word> : comment text
"in_source" or "not_in_source": default to in_source
"in_header" or "not_in_header": default to in_header
- ... : inherits more from Fl_Type
+ ... : inherits more from Node
Type "class" <word> <word> : prefix, class name
none or "private" or "protected" : defaults to public
":" <word> : name of super class
- ... : inherits more from Fl_Type
+ ... : inherits more from Node
Type "Fl_Widget" <word> : C++ variable name
@@ -487,7 +487,7 @@ Type "Fl_Widget" <word> : C++ variable name
"shortcut" <word> : integer
"code0" or "code1" or "code2" or "code3" <word> : C++ extra code lines
"extra_code" <word> : C++ extra code lines
- ... : inherits more from Fl_Type
+ ... : inherits more from Node
Type "Fl_Button" <word> : C++ variable name