aboutsummaryrefslogtreecommitdiff
path: root/dw/oofposrelmgr.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/oofposrelmgr.hh')
-rw-r--r--dw/oofposrelmgr.hh15
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