diff options
author | Sebastian Geerken <devnull@localhost> | 2013-07-03 00:16:38 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-07-03 00:16:38 +0200 |
commit | 63e61cd2c2f85b1bf66a3932d23f7231a876f62c (patch) | |
tree | c43a898c425d3d07b2b5d0e926419967b2a9babc /dw/outofflowmgr.hh | |
parent | fa25119df4ad93bff4edbe592ba26d7ffb5daa22 (diff) | |
parent | 97b5864b9b2a06c7cba9704206769fe8e0333d34 (diff) |
Merge with floats repo.
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 fd3b4f59..c19f0428 100644 --- a/dw/outofflowmgr.hh +++ b/dw/outofflowmgr.hh @@ -351,6 +351,11 @@ public: return absolutelyPositioned->get(i - (leftFloatsAll->size() + rightFloatsAll->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 |