diff options
author | Sebastian Geerken <devnull@localhost> | 2015-02-02 14:37:53 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-02-02 14:37:53 +0100 |
commit | cdc7bebac4c0fa7fe198c4b72c62948ffeb12815 (patch) | |
tree | dc68963df5308584ef9a920ff253fa07eb03f32f /dw/oofawarewidget.hh | |
parent | 76ef5d3794d67fed2e6ff65d48781674d335309b (diff) |
Fixed too large widget reference space for relatively positioned elements.
Diffstat (limited to 'dw/oofawarewidget.hh')
-rw-r--r-- | dw/oofawarewidget.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dw/oofawarewidget.hh b/dw/oofawarewidget.hh index 8b7c1fde..3946c72b 100644 --- a/dw/oofawarewidget.hh +++ b/dw/oofawarewidget.hh @@ -152,6 +152,7 @@ protected: OOFAwareWidget *oofContainer[NUM_OOFM]; OutOfFlowMgr *outOfFlowMgr[NUM_OOFM]; + core::Requisition requisitionWithoutOOF; inline OutOfFlowMgr *searchOutOfFlowMgr (int oofmIndex) { return oofContainer[oofmIndex] ? @@ -187,7 +188,6 @@ protected: void removeChild (Widget *child); - public: enum { SL_START, SL_BACKGROUND, SL_SC_BOTTOM, SL_IN_FLOW, SL_OOF_REF, @@ -238,6 +238,9 @@ public: static inline bool testWidgetOutOfFlow (Widget *widget) { return testStyleOutOfFlow (widget->getStyle ()); } + inline core::Requisition *getRequisitionWithoutOOF () + { return &requisitionWithoutOOF; } + bool doesWidgetOOFInterruptDrawing (Widget *widget); void draw (core::View *view, core::Rectangle *area, |