diff options
author | Sebastian Geerken <devnull@localhost> | 2013-04-15 21:16:29 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-04-15 21:16:29 +0200 |
commit | 387571723e582e480ad1c5a05fab2418efe58eb3 (patch) | |
tree | 4ac883e118b01f93a9e9dd2d0d17c623405d527d /dw/outofflowmgr.hh | |
parent | f2b87170b0ee2ce2ad1019355f10369c2709671b (diff) |
Comments.
Diffstat (limited to 'dw/outofflowmgr.hh')
-rw-r--r-- | dw/outofflowmgr.hh | 14 |
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. |