From fa6dd63e38408ee6b9d888a4a0b0aaa44700eb5e Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Tue, 3 Feb 2015 15:10:50 +0100 Subject: Some cleanup in OOFPosAbsLikeMgr. --- dw/oofpositionedmgr.hh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'dw/oofpositionedmgr.hh') 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); -- cgit v1.2.3