summaryrefslogtreecommitdiff
path: root/fluid/alignment_panel.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/alignment_panel.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/alignment_panel.h')
-rw-r--r--fluid/alignment_panel.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/fluid/alignment_panel.h b/fluid/alignment_panel.h
index e2a9bdc03..0457f4560 100644
--- a/fluid/alignment_panel.h
+++ b/fluid/alignment_panel.h
@@ -19,17 +19,12 @@
#ifndef alignment_panel_h
#define alignment_panel_h
#include <FL/Fl.H>
+#include "fluid.h"
+#include "widget_browser.h"
#include <FL/Fl_Text_Buffer.H>
#include <FL/Fl_Text_Display.H>
#include <FL/filename.H>
-extern void load_history();
-extern void redraw_browser();
-extern int show_comments;
-extern int G_use_external_editor;
-extern char G_external_editor_command[512];
-extern int show_coredevmenus;
extern struct Fl_Menu_Item *dbmanager_item;
-extern Fl_Preferences fluid_prefs;
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Preferences.H>
#include <FL/Fl_Tooltip.H>