diff options
Diffstat (limited to 'dw/outofflowmgr.hh')
-rw-r--r-- | dw/outofflowmgr.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dw/outofflowmgr.hh b/dw/outofflowmgr.hh index ef330e7c..f4c18972 100644 --- a/dw/outofflowmgr.hh +++ b/dw/outofflowmgr.hh @@ -121,11 +121,15 @@ private: int index; // position within "tbInfos" Textblock *textblock; // for debugging; may be removed again + TBInfo *parent; + int parentExtIndex; + // These two lists store all floats generated by this textblock, // as long as this textblock is not allocates. SortedFloatsVector *leftFloatsGB, *rightFloatsGB; - TBInfo (OutOfFlowMgr *oofm, Textblock *textblock); + TBInfo (OutOfFlowMgr *oofm, Textblock *textblock, + TBInfo *parent, int parentExtIndex); ~TBInfo (); }; @@ -230,7 +234,8 @@ public: core::Widget *getWidgetAtPoint (int x, int y, int level); static bool isWidgetOutOfFlow (core::Widget *widget); - void addWidgetInFlow (Textblock *textblock); + void addWidgetInFlow (Textblock *textblock, Textblock *parentBlock, + int externalIndex); void addWidgetOOF (core::Widget *widget, Textblock *generatingBlock, int externalIndex); void moveExternalIndices (Textblock *generatingBlock, int oldStartIndex, |