summaryrefslogtreecommitdiff
path: root/fluid/Fl_Widget_Type.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-26 23:31:12 +0200
committerMatthias Melcher <github@matthiasm.com>2023-10-26 23:31:29 +0200
commit0b408792c083eb64a5ca737bdbcb30b1d64042e9 (patch)
tree51b791729ea8be5bb741088cba12c24a9c4034c5 /fluid/Fl_Widget_Type.cxx
parent8663b867497de6d370b9c8376c4bdfc909744663 (diff)
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
Diffstat (limited to 'fluid/Fl_Widget_Type.cxx')
-rw-r--r--fluid/Fl_Widget_Type.cxx3
1 files changed, 2 insertions, 1 deletions
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 <FL/Fl.H>
#include <FL/Fl_Group.H>
@@ -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: