summaryrefslogtreecommitdiff
path: root/fluid/undo.h
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2021-12-08 15:52:15 +0100
committerMatthias Melcher <git@matthiasm.com>2021-12-08 15:52:15 +0100
commit16dae3ea063ae134b8b87ca199575e904dfbb7d4 (patch)
treeff0ce9e635bb39f49bfcce2c5e7fe099334a0d15 /fluid/undo.h
parent2d18c6f650c0001319c8883f8deb819d12984ac0 (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.h')
-rw-r--r--fluid/undo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fluid/undo.h b/fluid/undo.h
index c1d1aef44..171fe062f 100644
--- a/fluid/undo.h
+++ b/fluid/undo.h
@@ -15,7 +15,9 @@
//
#ifndef undo_h
-# define undo_h
+#define undo_h
+
+class Fl_Widget;
extern int undo_current; // Current undo level in buffer
extern int undo_last; // Last undo level in buffer