From 16dae3ea063ae134b8b87ca199575e904dfbb7d4 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 8 Dec 2021 15:52:15 +0100 Subject: 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. --- fluid/function_panel.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'fluid/function_panel.cxx') 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 +#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. -- cgit v1.2.3