aboutsummaryrefslogtreecommitdiff
path: root/dw/oofpositionedmgr.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/oofpositionedmgr.hh')
-rw-r--r--dw/oofpositionedmgr.hh9
1 files changed, 5 insertions, 4 deletions
diff --git a/dw/oofpositionedmgr.hh b/dw/oofpositionedmgr.hh
index a4318a08..380037b4 100644
--- a/dw/oofpositionedmgr.hh
+++ b/dw/oofpositionedmgr.hh
@@ -16,11 +16,10 @@ protected:
core::Widget *widget;
OOFAwareWidget *generator;
int externalIndex, x, y;
+ bool consideredForSize, consideredForExtremes;
- inline Child (core::Widget *widget, OOFAwareWidget *generator,
- int externalIndex)
- { this->widget = widget; this->generator = generator;
- this->externalIndex = externalIndex; x = y = 0; }
+ Child (core::Widget *widget, OOFAwareWidget *generator,
+ int externalIndex);
};
OOFAwareWidget *container;
@@ -41,6 +40,8 @@ protected:
{ return getPosBorder (child->getStyle()->bottom, availHeight, result); }
bool getPosBorder (core::style::Length cssValue, int refLength, int *result);
+ bool allChildrenConsideredForSize ();
+ bool allChildrenConsideredForExtremes ();
public:
OOFPositionedMgr (OOFAwareWidget *container);