MCPcopy Create free account
hub / github.com/ZDoom/Raze / OnWindowMouseUp

Method OnWindowMouseUp

libraries/ZWidget/src/core/widget.cpp:615–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613}
614
615void Widget::OnWindowMouseUp(const Point& pos, EInputKey key)
616{
617 if (CaptureWidget)
618 {
619 CaptureWidget->OnMouseUp(CaptureWidget->MapFrom(this, pos), key);
620 }
621 else
622 {
623 Widget* widget = ChildAt(pos);
624 if (!widget)
625 widget = this;
626 while (widget)
627 {
628 bool stopPropagation = widget->OnMouseUp(widget->MapFrom(this, pos), key);
629 if (stopPropagation || widget == this)
630 break;
631 widget = widget->Parent();
632 }
633 }
634}
635
636void Widget::OnWindowMouseWheel(const Point& pos, EInputKey key)
637{

Callers 2

OnMouseButtonUpMethod · 0.80
OnWindowMessageMethod · 0.80

Calls 3

MapFromMethod · 0.80
ParentMethod · 0.80
OnMouseUpMethod · 0.45

Tested by

no test coverage detected