From 0b408792c083eb64a5ca737bdbcb30b1d64042e9 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 26 Oct 2023 23:31:12 +0200 Subject: FLUID: Refactors MergeBack * moved functionality into its own files * refactored all methods to be less than a page * documented all calls * tested all situations I could think of --- fluid/Fl_Widget_Type.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fluid/Fl_Widget_Type.cxx') diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index fb76315fa..11bc15ee3 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -27,6 +27,7 @@ #include "alignment_panel.h" #include "widget_panel.h" #include "undo.h" +#include "mergeback.h" #include #include @@ -2631,7 +2632,7 @@ void live_mode_cb(Fl_Button*o,void *) { } // update the panel according to current widget set: -static void load_panel() { +void load_panel() { if (!the_panel) return; // find all the Fl_Widget subclasses currently selected: -- cgit v1.2.3