aboutsummaryrefslogtreecommitdiff
path: root/dw/oofawarewidget.hh
diff options
context:
space:
mode:
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,