diff options
author | Sebastian Geerken <devnull@localhost> | 2015-01-31 01:13:01 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-01-31 01:13:01 +0100 |
commit | 6a0a8f19b52f80132ae431db1341ca1971b06981 (patch) | |
tree | cbdecdc63055f83406f9cebbec7764563bdeb707 /dw/oofposrelmgr.hh | |
parent | 3238f21d277704723582ebaf7f5c9d6e0b042bf9 (diff) |
Relative positions, part 3: more on OOFPosAbsLikeMgr; incomplete implementation of OOFPosRelMgr.
Diffstat (limited to 'dw/oofposrelmgr.hh')
-rw-r--r-- | dw/oofposrelmgr.hh | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/dw/oofposrelmgr.hh b/dw/oofposrelmgr.hh index 6f712a84..90323094 100644 --- a/dw/oofposrelmgr.hh +++ b/dw/oofposrelmgr.hh @@ -11,10 +11,6 @@ class OOFPosRelMgr: public OOFPositionedMgr { protected: bool isReference (core::Widget *widget); - int containerBoxOffsetX (); - int containerBoxOffsetY (); - int containerBoxRestWidth (); - int containerBoxRestHeight (); public: OOFPosRelMgr (OOFAwareWidget *container); @@ -23,6 +19,17 @@ public: void markSizeChange (int ref); void markExtremesChange (int ref); void calcWidgetRefSize (core::Widget *widget, core::Requisition *size); + + void sizeAllocateStart (OOFAwareWidget *caller, + core::Allocation *allocation); + void sizeAllocateEnd (OOFAwareWidget *caller); + void getSize (core::Requisition *containerReq, int *oofWidth, + int *oofHeight); + void getExtremes (core::Extremes *containerExtr, int *oofMinWidth, + int *oofMaxWidth); + + int getAvailWidthOfChild (core::Widget *child, bool forceValue); + int getAvailHeightOfChild (core::Widget *child, bool forceValue); }; } // namespace oof |