diff options
Diffstat (limited to 'dw/oofpositionedmgr.hh')
-rw-r--r-- | dw/oofpositionedmgr.hh | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/dw/oofpositionedmgr.hh b/dw/oofpositionedmgr.hh index 8fa8be7a..04fa1629 100644 --- a/dw/oofpositionedmgr.hh +++ b/dw/oofpositionedmgr.hh @@ -55,9 +55,21 @@ protected: { return getPosBorder (child->getStyle()->bottom, availHeight); } int getPosBorder (core::style::Length cssValue, int refLength); + + bool isHPosComplete (core::Widget *child); + bool isVPosComplete (core::Widget *child); + bool isPosComplete (core::Widget *child); + void calcPosAndSizeChildOfChild (Child *child, int refWidth, int refHeight, - int *x, int *y, int *width, int *ascent, - int *descent); + int *xPtr, int *yPtr, int *widthPtr, + int *ascentPtr, int *descentPtr); + void calcHPosAndSizeChildOfChild (Child *child, int refWidth, + int origChildWidth, int *xPtr, + int *widthPtr); + void calcVPosAndSizeChildOfChild (Child *child, int refHeight, + int origChildAscent, int origChildDescent, + int *yPtr, int *ascentPtr, + int *descentPtr); public: OOFPositionedMgr (OOFAwareWidget *container); |