aboutsummaryrefslogtreecommitdiff
path: root/dw/oofawarewidget.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-01-31 01:13:01 +0100
committerSebastian Geerken <devnull@localhost>2015-01-31 01:13:01 +0100
commit6a0a8f19b52f80132ae431db1341ca1971b06981 (patch)
treecbdecdc63055f83406f9cebbec7764563bdeb707 /dw/oofawarewidget.hh
parent3238f21d277704723582ebaf7f5c9d6e0b042bf9 (diff)
Relative positions, part 3: more on OOFPosAbsLikeMgr; incomplete implementation of OOFPosRelMgr.
Diffstat (limited to 'dw/oofawarewidget.hh')
-rw-r--r--dw/oofawarewidget.hh8
1 files changed, 5 insertions, 3 deletions
diff --git a/dw/oofawarewidget.hh b/dw/oofawarewidget.hh
index 249dfe9a..9ac83eee 100644
--- a/dw/oofawarewidget.hh
+++ b/dw/oofawarewidget.hh
@@ -175,9 +175,6 @@ protected:
void notifySetAsTopLevel();
void notifySetParent();
- int getAvailWidthOfChild (Widget *child, bool forceValue);
- int getAvailHeightOfChild (Widget *child, bool forceValue);
-
void removeChild (Widget *child);
@@ -231,6 +228,11 @@ public:
static inline bool testWidgetOutOfFlow (Widget *widget)
{ return testStyleOutOfFlow (widget->getStyle ()); }
+ // These two methods (which are protected in Widget) are made public
+ // for OOFPosRelMgr.
+ int getAvailWidthOfChild (Widget *child, bool forceValue);
+ int getAvailHeightOfChild (Widget *child, bool forceValue);
+
bool doesWidgetOOFInterruptDrawing (Widget *widget);
void draw (core::View *view, core::Rectangle *area,