diff options
| author | Matthias Melcher <git@matthiasm.com> | 2021-12-08 15:52:15 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2021-12-08 15:52:15 +0100 |
| commit | 16dae3ea063ae134b8b87ca199575e904dfbb7d4 (patch) | |
| tree | ff0ce9e635bb39f49bfcce2c5e7fe099334a0d15 /fluid/factory.cxx | |
| parent | 2d18c6f650c0001319c8883f8deb819d12984ac0 (diff) | |
Fluid: restructuring and commenting.
tl;dr : making Fluid maintainable, no changes in code execution and logic.
This is a pretty extensive restructuring of the Fluid source tree.
It was neccessary because source and header files were getting
much too big to handle. Many source files had no header, and many
headers declared functions that were in diffrent source files.
Reorganized much of the include statements.
Added comments to some of the files.
Added Doxygen configuration file for standalone Fluid docs.
Tested everything by rebuilding Fluid .fl designs with the resorted
version of Fluid.
Diffstat (limited to 'fluid/factory.cxx')
| -rw-r--r-- | fluid/factory.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/fluid/factory.cxx b/fluid/factory.cxx index 803411d3a..d1b1b664d 100644 --- a/fluid/factory.cxx +++ b/fluid/factory.cxx @@ -22,16 +22,20 @@ // https://www.fltk.org/bugs.php // +#include "factory.h" + +#include "fluid.h" +#include "Fl_Window_Type.h" +#include "undo.h" + #include <FL/Fl.H> #include <FL/Fl_Group.H> #include <FL/Fl_Menu_Item.H> #include <FL/Fl_Pixmap.H> #include <FL/Fl_Tree.H> -#include <stdio.h> #include "../src/flstring.h" -#include "undo.h" -#include "Fl_Widget_Type.h" +#include <stdio.h> extern Fl_Pixmap *pixmap[]; @@ -1116,7 +1120,6 @@ void fill_in_New_Menu() { } // use keyword to pick the type, this is used to parse files: -int reading_file; Fl_Type *Fl_Type_make(const char *tn) { reading_file = 1; // makes labels be null Fl_Type *r = 0; |
