aboutsummaryrefslogtreecommitdiff
path: root/dw/table.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-06-22 21:08:05 +0200
committerSebastian Geerken <devnull@localhost>2014-06-22 21:08:05 +0200
commitdf401973a3c0ef4e4c77de91e53567e86ac57dd7 (patch)
tree2b7ca08b929b4dba0ffaeceb0c6c1bed30518138 /dw/table.hh
parentcdb265fcafd2c363f1a809afa702163d430e151d (diff)
More work on tables. (Also reactivated Table::getAvailWidthOfChild, which was removed accidently.)
Diffstat (limited to 'dw/table.hh')
-rw-r--r--dw/table.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/dw/table.hh b/dw/table.hh
index e76116fb..5288c986 100644
--- a/dw/table.hh
+++ b/dw/table.hh
@@ -428,8 +428,7 @@ protected:
void sizeAllocateImpl (core::Allocation *allocation);
void resizeDrawImpl ();
- int applyPerWidth (int containerWidth, core::style::Length perWidth);
- int applyPerHeight (int containerHeight, core::style::Length perHeight);
+ int getAvailWidthOfChild (Widget *child, bool forceValue);
void containerSizeChangedForChildren ();
bool usesAvailWidth ();
@@ -450,6 +449,9 @@ public:
Table(bool limitTextWidth);
~Table();
+ int applyPerWidth (int containerWidth, core::style::Length perWidth);
+ int applyPerHeight (int containerHeight, core::style::Length perHeight);
+
core::Iterator *iterator (core::Content::Type mask, bool atEnd);
void addCell (Widget *widget, int colspan, int rowspan);