diff options
author | Sebastian Geerken <devnull@localhost> | 2014-10-06 11:08:45 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-10-06 11:08:45 +0200 |
commit | 911af8647d85f4f234ea600713b3bead07e331da (patch) | |
tree | 022204e4bc86b69dc47e1b2a6fe5ffff57e5231c /dw/ooffloatsmgr.hh | |
parent | 28971fb65e8cd4b81b5e8e0f16c2e01205c3d044 (diff) | |
parent | 10fb76e9b12ae211c7afd8c8514ffbd5119cc7e3 (diff) |
Merge with main repo.
Diffstat (limited to 'dw/ooffloatsmgr.hh')
-rw-r--r-- | dw/ooffloatsmgr.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dw/ooffloatsmgr.hh b/dw/ooffloatsmgr.hh index 75bc596e..b23ba072 100644 --- a/dw/ooffloatsmgr.hh +++ b/dw/ooffloatsmgr.hh @@ -191,6 +191,7 @@ private: // down) for usage. bool wasAllocated; core::Allocation allocation; + int clearPosition; // These two lists store all floats generated by this textblock, // as long as this textblock is not allocates. @@ -314,7 +315,8 @@ private: int getFloatHeight (OOFAwareWidget *textblock, Side side, int y, int h, OOFAwareWidget *lastGB, int lastExtIndex); - int getClearPosition (OOFAwareWidget *textblock, Side side); + int calcClearPosition (OOFAwareWidget *textblock); + int calcClearPosition (OOFAwareWidget *textblock, Side side); void ensureFloatSize (Float *vloat); |