aboutsummaryrefslogtreecommitdiff
path: root/dw/outofflowmgr.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-08-01 22:14:09 +0200
committerSebastian Geerken <devnull@localhost>2013-08-01 22:14:09 +0200
commitb92e98161be48479e56df46a6657035fc679cf40 (patch)
tree0668fa456238d671823ab22081ab568731f9b456 /dw/outofflowmgr.hh
parentff6dc66d7ff225960cb52fb6df95461bcec9f0d4 (diff)
Moved handling of float size changes to OOFM::sizeAllocateEnd(). (Still buggy, though.)
Diffstat (limited to 'dw/outofflowmgr.hh')
-rw-r--r--dw/outofflowmgr.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/dw/outofflowmgr.hh b/dw/outofflowmgr.hh
index 23b8134c..6cae9c37 100644
--- a/dw/outofflowmgr.hh
+++ b/dw/outofflowmgr.hh
@@ -62,7 +62,7 @@ private:
int cbAvailWidth; /* On which the calculation of relative sizes
is based. Height not yet used, and probably
not added before size redesign. */
- bool dirty;
+ bool dirty, sizeChangedSinceLastAllocation;
bool inCBList; /* Neccessary to prevent floats from being moved
twice from GB to CB list. */
@@ -208,6 +208,8 @@ private:
bool isTextblockCoveredByFloat (Float *vloat, Textblock *tb,
int tbx, int tby, int tbWidth, int tbHeight,
int *floatPos);
+ void checkChangedFloatSizes ();
+ void checkChangedFloatSizes (SortedFloatsVector *list);
void drawFloats (SortedFloatsVector *list, core::View *view,
core::Rectangle *area);