diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-11-05 22:18:56 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-11-05 22:19:03 +0100 |
| commit | e690e76da1555e61bd6bde89d00215b11352f8b2 (patch) | |
| tree | 048cf12b8c35a60b0b983dbb8303f800a9b3da11 /fluid/Fl_Grid_Type.h | |
| parent | 95daa77c497254919d17b23de56397788b291ecf (diff) | |
FLUID: Adds undo for all grid operations.
Diffstat (limited to 'fluid/Fl_Grid_Type.h')
| -rw-r--r-- | fluid/Fl_Grid_Type.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fluid/Fl_Grid_Type.h b/fluid/Fl_Grid_Type.h index 9780ace76..4c922f97d 100644 --- a/fluid/Fl_Grid_Type.h +++ b/fluid/Fl_Grid_Type.h @@ -40,6 +40,7 @@ public: void draw_overlay(); void move_cell(Fl_Widget *child, int to_row, int to_col, int how = 0); Cell* any_cell(Fl_Widget *widget) const; + Cell* transient_cell(Fl_Widget *widget) const; Cell* transient_widget(Fl_Widget *wi, int row, int col, int row_span, int col_span, Fl_Grid_Align align = FL_GRID_FILL); Cell* widget(Fl_Widget *wi, int row, int col, Fl_Grid_Align align = FL_GRID_FILL); Cell* widget(Fl_Widget *wi, int row, int col, int rowspan, int colspan, Fl_Grid_Align align = FL_GRID_FILL); @@ -69,7 +70,7 @@ public: void layout_widget() 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); + void insert_child_at_next_free_cell(Fl_Widget *child); void keyboard_move_child(Fl_Widget_Type*, int key); static class Fl_Grid *selected(); |
