diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-09-11 22:29:39 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-09-11 22:29:45 +0200 |
| commit | 0ac0ec2aa3e1dd344c31b5b1a38eb30de8aaaec2 (patch) | |
| tree | c36143e8cad91010f4505ffa26fe0d0c9a6dbaf0 /fluid/Fl_Type.h | |
| parent | 5cc9845f2f2805efd8e831f29810f91ad793c530 (diff) | |
FLUID: Eliminating two globals
Diffstat (limited to 'fluid/Fl_Type.h')
| -rw-r--r-- | fluid/Fl_Type.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index 6961e50c7..8d9588e13 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -29,6 +29,22 @@ class Fl_Window_Type; class Fd_Project_Reader; class Fd_Project_Writer; +/** + Declare where a new type is placed in the hierarchy. + + Note that a type can also be the start of a hierarchy of types. In that case, + + \see Fl_Type *Fl_..._Type::make(Strategy strategy) calls `add()` + Add single Type: + Fl_Type *add_new_widget_from_user(Fl_Type *inPrototype, Strategy strategy, bool and_open) + Fl_Type *add_new_widget_from_user(const char *inName, Strategy strategy, bool and_open) + Fl_Type *add_new_widget_from_file(const char *inName, Strategy strategy) + Add a hierarchy of Types + void Fl_Type::add(Fl_Type *p, Strategy strategy) + int read_file(const char *filename, int merge, Strategy strategy) + Fl_Type *Fd_Project_Reader::read_children(Fl_Type *p, int merge, Strategy strategy, char skip_options) + int Fd_Project_Reader::read_project(const char *filename, int merge, Strategy strategy) + */ typedef enum { kAddAsLastChild = 0, kAddAfterCurrent |
