diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-23 01:36:55 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-23 01:36:55 +0200 |
| commit | 17baeceb7ab90251f99c7909eb9eeca92aec5a05 (patch) | |
| tree | 76fc446e2060f38dfda5e769640c2277d2010eb6 /fluid/Fl_Grid_Type.h | |
| parent | ab6ef9d52f60ac991baafc7af33775e34484f358 (diff) | |
FLUID: Positioning grid cells intuitively.
User can now drag widgets from the toolbox into the grid
or use the context menu to add them into the corresponding
cell. If no position is indicated, now children are added at the
first free cell.
Diffstat (limited to 'fluid/Fl_Grid_Type.h')
| -rw-r--r-- | fluid/Fl_Grid_Type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fluid/Fl_Grid_Type.h b/fluid/Fl_Grid_Type.h index 3ad25095c..358489469 100644 --- a/fluid/Fl_Grid_Type.h +++ b/fluid/Fl_Grid_Type.h @@ -45,6 +45,8 @@ public: void move_child(Fl_Type*, Fl_Type*) FL_OVERRIDE; void remove_child(Fl_Type*) FL_OVERRIDE; void child_resized(Fl_Widget_Type *child); + void insert_child_at(Fl_Widget *child, int x, int y); + void insert_child(Fl_Widget *child); static class Fl_Grid *selected(); }; |
