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/textblock.hh | |
parent | 607814bdead6d72fb6825a5502e625a216114a1c (diff) |
Applied interruption (as used for drawing) also to Widget::getWidgetAtPoint. (Still bugs\!)
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r-- | dw/textblock.hh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh index c96b2bc6..aaab0e1a 100644 --- a/dw/textblock.hh +++ b/dw/textblock.hh @@ -645,9 +645,8 @@ protected: void drawLine (Line *line, core::View *view, core::Rectangle *area, core::StackingIteratorStack *iteratorStack, Widget **interruptedWidget); - void drawOOFReferences (core::View *view, core::Rectangle *area, - core::StackingIteratorStack *iteratorStack, - Widget **interruptedWidget); + void handleOOFReferences (core::StackingIteratorStack *iteratorStack, + Widget **interruptedWidget, bool backwards); int findLineIndex (int y); int findLineIndexWhenNotAllocated (int y); @@ -807,6 +806,11 @@ protected: core::StackingIteratorStack *iteratorStack, Widget **interruptedWidget, int majorLevel); + Widget *getWidgetAtPointLevel (int x, int y, + core::StackingIteratorStack *iteratorStack, + Widget **interruptedWidget, int majorLevel); + int getLastLevelIndex (int majorLevel, int minorLevel); + void sizeRequestImpl (core::Requisition *requisition); void getExtremesImpl (core::Extremes *extremes); void sizeAllocateImpl (core::Allocation *allocation); @@ -890,7 +894,6 @@ public: void addParbreak (int space, core::style::Style *style); void addLinebreak (core::style::Style *style); - core::Widget *getWidgetAtPoint (int x, int y); void handOverBreak (core::style::Style *style); void changeLinkColor (int link, int newColor); void changeWordStyle (int from, int to, core::style::Style *style, |