diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-27 18:31:14 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-27 18:31:20 +0200 |
| commit | 4b5985eb49e057aa69b8ba4e91d0ad11e1cc87ff (patch) | |
| tree | 4394fabc7e0b9fbdd2b54b0c8aaa682027eae837 /fluid/Fl_Group_Type.h | |
| parent | aab6afd32cc03812798883f8cf2be58161b12f8c (diff) | |
FLUID: Fixes issues when pasting widget into Fl_Flex #809
* new virtual function layout_widget() to inform parents after
all children were added
Diffstat (limited to 'fluid/Fl_Group_Type.h')
| -rw-r--r-- | fluid/Fl_Group_Type.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/Fl_Group_Type.h b/fluid/Fl_Group_Type.h index 67791f981..36a4821df 100644 --- a/fluid/Fl_Group_Type.h +++ b/fluid/Fl_Group_Type.h @@ -46,7 +46,6 @@ public: Fl_Widget *widget(int X,int Y,int W,int H) FL_OVERRIDE { igroup *g = new igroup(X,Y,W,H); Fl_Group::current(0); return g;} Fl_Widget_Type *_make() FL_OVERRIDE {return new Fl_Group_Type();} - Fl_Type *make(Strategy strategy) FL_OVERRIDE; void write_code1(Fd_Code_Writer& f) FL_OVERRIDE; void write_code2(Fd_Code_Writer& f) FL_OVERRIDE; void add_child(Fl_Type*, Fl_Type*) FL_OVERRIDE; @@ -106,9 +105,10 @@ public: void copy_properties() FL_OVERRIDE; void postprocess_read() FL_OVERRIDE; void write_code2(Fd_Code_Writer& f) FL_OVERRIDE; - void add_child(Fl_Type*, Fl_Type*) FL_OVERRIDE; - void move_child(Fl_Type*, Fl_Type*) FL_OVERRIDE; +// void add_child(Fl_Type*, Fl_Type*) FL_OVERRIDE; +// void move_child(Fl_Type*, Fl_Type*) FL_OVERRIDE; void remove_child(Fl_Type*) FL_OVERRIDE; + void layout_widget() FL_OVERRIDE; void change_subtype_to(int n); static int parent_is_flex(Fl_Type*); static int size(Fl_Type*, char fixed_only=0); |
