| 592 | } |
| 593 | |
| 594 | void Widget::OnWindowMouseDoubleclick(const Point& pos, EInputKey key) |
| 595 | { |
| 596 | if (CaptureWidget) |
| 597 | { |
| 598 | CaptureWidget->OnMouseDoubleclick(CaptureWidget->MapFrom(this, pos), key); |
| 599 | } |
| 600 | else |
| 601 | { |
| 602 | Widget* widget = ChildAt(pos); |
| 603 | if (!widget) |
| 604 | widget = this; |
| 605 | while (widget) |
| 606 | { |
| 607 | bool stopPropagation = widget->OnMouseDoubleclick(widget->MapFrom(this, pos), key); |
| 608 | if (stopPropagation || widget == this) |
| 609 | break; |
| 610 | widget = widget->Parent(); |
| 611 | } |
| 612 | } |
| 613 | } |
| 614 | |
| 615 | void Widget::OnWindowMouseUp(const Point& pos, EInputKey key) |
| 616 | { |
no test coverage detected