aboutsummaryrefslogtreecommitdiff
path: root/dw/table.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-07-07 00:47:58 +0200
committerSebastian Geerken <devnull@localhost>2014-07-07 00:47:58 +0200
commit0fe59581e9df37a10e908a204dd7fc27026df721 (patch)
treea3127252e63f1e6a926577b636a3da0d0a0e04fe /dw/table.hh
parent879714375c1113745631e1c42be643358ef34f3d (diff)
Implemented Table::correctRequisitionOfChild.
Diffstat (limited to 'dw/table.hh')
-rw-r--r--dw/table.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/table.hh b/dw/table.hh
index 186f1f50..4cb97040 100644
--- a/dw/table.hh
+++ b/dw/table.hh
@@ -411,6 +411,8 @@ private:
children->get(n)->type != Child::SPAN_SPACE;
}
+ int calcAvailWidthForDescendant (Widget *child);
+
void reallocChildren (int newNumCols, int newNumRows);
void calcCellSizes (bool calcHeights);
@@ -442,6 +444,9 @@ protected:
void resizeDrawImpl ();
int getAvailWidthOfChild (Widget *child, bool forceValue);
+ void correctRequisitionOfChild (core::Widget *child,
+ core::Requisition *requisition,
+ void (*splitHeightFun) (int, int*, int*));
void containerSizeChangedForChildren ();
bool usesAvailWidth ();