summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Grid.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Fl_Grid.cxx b/src/Fl_Grid.cxx
index 9de77c7b9..ac4f9f224 100644
--- a/src/Fl_Grid.cxx
+++ b/src/Fl_Grid.cxx
@@ -1142,6 +1142,14 @@ int Fl_Grid::row_gap(int row) const {
return 0;
}
+int Fl_Grid::computed_col_width(int col) const {
+ return Cols_[col].w_;
+}
+
+int Fl_Grid::computed_row_height(int row) const {
+ return Rows_[row].h_;
+}
+
/**
Output layout information of this Fl_Grid to stderr.