diff options
author | Sebastian Geerken <devnull@localhost> | 2014-04-17 14:33:47 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-04-17 14:33:47 +0200 |
commit | e091d3cf6397cdc843a966a6d67dfafa25b07eae (patch) | |
tree | 249a3b663e9b640338c3dae7255618b6b70be86e /dw/outofflowmgr.hh | |
parent | 7c0e9a51169c60b25fb57bdefe734bdf9010df2f (diff) |
Some RTFL.
Diffstat (limited to 'dw/outofflowmgr.hh')
-rw-r--r-- | dw/outofflowmgr.hh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/dw/outofflowmgr.hh b/dw/outofflowmgr.hh index 135cdcd1..55793d78 100644 --- a/dw/outofflowmgr.hh +++ b/dw/outofflowmgr.hh @@ -61,10 +61,11 @@ private: private: OutOfFlowMgr *oofm; Textblock *refTB; + SFVType type; // actually only used for debugging public: - ComparePosition (OutOfFlowMgr *oofm, Textblock *refTB) - { this->oofm = oofm; this->refTB = refTB; } + ComparePosition (OutOfFlowMgr *oofm, Textblock *refTB, SFVType type) + { this->oofm = oofm; this->refTB = refTB; this->type = type; } int compare(Object *o1, Object *o2); }; @@ -78,9 +79,11 @@ private: { private: OutOfFlowMgr *oofm; + SFVType type; // actually only used for debugging public: - CompareGBAndExtIndex (OutOfFlowMgr *oofm) { this->oofm = oofm; } + CompareGBAndExtIndex (OutOfFlowMgr *oofm, SFVType type) + { this->oofm = oofm; this->type = type; } int compare(Object *o1, Object *o2); }; @@ -293,8 +296,8 @@ private: int level); core::Widget *getAbsolutelyPositionedWidgetAtPoint (int x, int y, int level); - bool collidesV (Float *vloat, Float *other, int *yReal); - bool collidesH (Float *vloat, Float *other, int *yReal); + bool collidesV (Float *vloat, Float *other, SFVType type, int *yReal); + bool collidesH (Float *vloat, Float *other, SFVType type, int *yReal); void getFloatsListsAndSide (Float *vloat, SortedFloatsVector **listSame, SortedFloatsVector **listOpp, Side *side); |