aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dw/outofflowmgr.hh14
1 files changed, 11 insertions, 3 deletions
diff --git a/dw/outofflowmgr.hh b/dw/outofflowmgr.hh
index ac445943..bee5c6ab 100644
--- a/dw/outofflowmgr.hh
+++ b/dw/outofflowmgr.hh
@@ -40,7 +40,14 @@ private:
Textblock *generatingBlock;
int externalIndex;
int yReq, yReal; // relative to generator, not container
- int index, sideSpanningIndex, mark;
+ int index; /* When GB is not yet allocated: position
+ within TBInfo::leftFloatsGB or
+ TBInfo::rightFloatsGB, respectively. When GB
+ is allocated: position within leftFloatsCB
+ or rightFloatsCB, respectively, even when
+ the floats are still elements of
+ TBInfo::*FloatsGB. */
+ int sideSpanningIndex, mark;
core::Requisition size;
bool dirty;
@@ -90,7 +97,7 @@ private:
inline lout::container::typed::Iterator<Float> iterator()
{ return lout::container::typed::Vector<Float>::iterator (); }
- inline int size () // For size, cleanup is irrelevant.
+ inline int size ()
{ return lout::container::typed::Vector<Float>::size (); }
inline Float *get (int pos)
{ return lout::container::typed::Vector<Float>::get (pos); }
@@ -103,7 +110,8 @@ private:
public:
bool wasAllocated;
int xCB, yCB; // relative to the containing block
- int width, height, index;
+ int width, height;
+ int index; // position within "tbInfos"
// These two lists store all floats generated by this textblock,
// as long as this textblock is not allocates.