diff options
author | Sebastian Geerken <devnull@localhost> | 2013-05-20 18:03:41 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-05-20 18:03:41 +0200 |
commit | e28feeecc314bbcee1ca701de84ccabe96d0cd09 (patch) | |
tree | b7828430724e071a377e91837bf3eabccd80850d /dw/outofflowmgr.hh | |
parent | b96d8d3f2a791e161a28fed2ebdf2460a6bcda1c (diff) |
Some more data for OutOfFlowMgr::addWidgetInFlow.
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, |