From cf581248257b88e98fa4315525a0ee531b4cb9c8 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Fri, 23 Jan 2015 23:20:59 +0100 Subject: Same simplifications for Widget::getWidgetAtPoint as for Widget::draw before. --- dw/ooffloatsmgr.hh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'dw/ooffloatsmgr.hh') diff --git a/dw/ooffloatsmgr.hh b/dw/ooffloatsmgr.hh index 1c0b5f03..430f383f 100644 --- a/dw/ooffloatsmgr.hh +++ b/dw/ooffloatsmgr.hh @@ -287,10 +287,8 @@ private: void drawFloats (SortedFloatsVector *list, core::View *view, core::Rectangle *area, core::DrawingContext *context); core::Widget *getFloatWidgetAtPoint (SortedFloatsVector *list, int x, int y, - core::StackingIteratorStack - *iteratorStack, - core::Widget **interruptedWidget, - int *index, int startIndex); + core::GettingWidgetAtPointContext + *context); bool collidesV (Float *vloat, Float *other, SFVType type, int *yReal, bool useAllocation); @@ -350,9 +348,7 @@ public: void markSizeChange (int ref); void markExtremesChange (int ref); core::Widget *getWidgetAtPoint (int x, int y, - core::StackingIteratorStack *iteratorStack, - core::Widget **interruptedWidget, - int *index); + core::GettingWidgetAtPointContext *context); void addWidgetInFlow (OOFAwareWidget *textblock, OOFAwareWidget *parentBlock, int externalIndex); -- cgit v1.2.3