summaryrefslogtreecommitdiff
path: root/dw/oofpositionedmgr.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-02-03 15:10:50 +0100
committerSebastian Geerken <devnull@localhost>2015-02-03 15:10:50 +0100
commitfa6dd63e38408ee6b9d888a4a0b0aaa44700eb5e (patch)
tree4360a9e0fe90c2fa218a810502263f843c7e46e6 /dw/oofpositionedmgr.hh
parentac04cad270ed1ad13e99124361b14af6682234e2 (diff)
Some cleanup in OOFPosAbsLikeMgr.
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);