From 17baeceb7ab90251f99c7909eb9eeca92aec5a05 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 23 Oct 2023 01:36:55 +0200 Subject: 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. --- FL/Fl_Grid.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FL') diff --git a/FL/Fl_Grid.H b/FL/Fl_Grid.H index d7d90e352..b240ca95b 100644 --- a/FL/Fl_Grid.H +++ b/FL/Fl_Grid.H @@ -311,6 +311,9 @@ public: void row_gap(const int *value, size_t size); int row_gap(int row) const; + int computed_col_width(int col) const; + int computed_row_height(int row) const; + /** Enable or disable drawing of the grid helper lines for visualization. -- cgit v1.2.3