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/undo.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/undo.cxx')
| -rw-r--r-- | fluid/undo.cxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/fluid/undo.cxx b/fluid/undo.cxx index 1afbb09f0..38d70c2e1 100644 --- a/fluid/undo.cxx +++ b/fluid/undo.cxx @@ -14,10 +14,15 @@ // https://www.fltk.org/bugs.php // -#include <FL/Fl.H> -#include "Fl_Type.h" #include "undo.h" + +#include "fluid.h" +#include "file.h" +#include "Fl_Type.h" + +#include <FL/Fl.H> #include <FL/Fl_Preferences.H> +#include <FL/Fl_Menu_Bar.H> #include <FL/filename.H> #include "../src/flstring.h" @@ -30,12 +35,6 @@ #endif // _WIN32 && !__CYGWIN__ -extern Fl_Preferences fluid_prefs; // FLUID preferences -extern Fl_Menu_Item Main_Menu[]; // Main menu -extern Fl_Menu_Bar *main_menubar; // Main menubar - - - // // This file implements an undo system using temporary files; ideally // we'd like to do this in memory, however the current data structures |
