From e28feeecc314bbcee1ca701de84ccabe96d0cd09 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Mon, 20 May 2013 18:03:41 +0200 Subject: Some more data for OutOfFlowMgr::addWidgetInFlow. --- dw/outofflowmgr.hh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dw/outofflowmgr.hh') 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, -- cgit v1.2.3