summaryrefslogtreecommitdiff
path: root/fluid/function_panel.cxx
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/function_panel.cxx
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/function_panel.cxx')
-rw-r--r--fluid/function_panel.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx
index e6821be2d..6cb60bcd0 100644
--- a/fluid/function_panel.cxx
+++ b/fluid/function_panel.cxx
@@ -17,14 +17,12 @@
// generated by Fast Light User Interface Designer (fluid) version 1.0400
#include "function_panel.h"
-#include <FL/Fl_Pixmap.H>
+#include "fluid.h"
+#include "pixmaps.h"
+#include "factory.h"
#include "Fl_Type.h"
+#include "widget_browser.h"
#include "undo.h"
-extern class Fl_Pixmap *pixmap[];
-extern class Fl_Type *Fl_Type_make(const char*);
-extern void select_only(Fl_Type*);
-extern void exit_cb(Fl_Widget*, void*);
-extern void toggle_widgetbin_cb(Fl_Widget*, void*);
/**
Allow widget navigation on text fields with Tab.