diff options
author | Sebastian Geerken <devnull@localhost> | 2014-10-25 12:13:51 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-10-25 12:13:51 +0200 |
commit | dcf6e00e9b790e0868d8863f140567eef5e540c1 (patch) | |
tree | 01b4fcdb5b0ddcdd98e90264869974aaa74da7ff /dw/oofawarewidget.hh | |
parent | 607814bdead6d72fb6825a5502e625a216114a1c (diff) |
Applied interruption (as used for drawing) also to Widget::getWidgetAtPoint. (Still bugs\!)
Diffstat (limited to 'dw/oofawarewidget.hh')
-rw-r--r-- | dw/oofawarewidget.hh | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/dw/oofawarewidget.hh b/dw/oofawarewidget.hh index f9d88c2b..95af54a0 100644 --- a/dw/oofawarewidget.hh +++ b/dw/oofawarewidget.hh @@ -177,7 +177,21 @@ protected: void drawOOF (core::View *view, core::Rectangle *area, core::StackingIteratorStack *iteratorStack, Widget **interruptedWidget); - Widget *getWidgetOOFAtPoint (int x, int y); + + Widget *getWidgetAtPoint (int x, int y, + core::StackingIteratorStack *iteratorStack, + Widget **interruptedWidget); + virtual Widget *getWidgetAtPointLevel (int x, int y, + core::StackingIteratorStack + *iteratorStack, + Widget **interruptedWidget, + int majorLevel); + Widget *getWidgetOOFAtPoint (int x, int y, + core::StackingIteratorStack *iteratorStack, + Widget **interruptedWidget); + + virtual int getLastMinorLevel (int majorLevel); + virtual int getLastLevelIndex (int majorLevel, int minorLevel); static bool isOOFContainer (Widget *widget, int oofmIndex); @@ -189,7 +203,6 @@ protected: void removeChild (Widget *child); - core::Widget *getWidgetAtPoint (int x, int y); public: static int CLASS_ID; @@ -207,7 +220,7 @@ public: static const char *majorLevelText (int majorLevel); - OOFStackingIterator (bool atEnd); + OOFStackingIterator (OOFAwareWidget *widget, bool atEnd); ~OOFStackingIterator (); void intoStringBuffer(lout::misc::StringBuffer *sb); |