diff options
Diffstat (limited to 'dw/outofflowmgr.hh')
-rw-r--r-- | dw/outofflowmgr.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/outofflowmgr.hh b/dw/outofflowmgr.hh index 01cf563f..97473145 100644 --- a/dw/outofflowmgr.hh +++ b/dw/outofflowmgr.hh @@ -277,6 +277,11 @@ public: inline core::Widget *getWidget (int i) { return i < leftFloatsAll->size() ? leftFloatsAll->get(i)->widget : rightFloatsAll->get(i - leftFloatsAll->size())->widget; } + + inline bool affectsLeftBorder (core::Widget *widget) { + return widget->getStyle()->vloat == core::style::FLOAT_LEFT; } + inline bool affectsRightBorder (core::Widget *widget) { + return widget->getStyle()->vloat == core::style::FLOAT_RIGHT; } }; } // namespace dw |