MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / onBroadcastMouseMessage

Method onBroadcastMouseMessage

src/ui/window.cpp:464–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464void Window::onBroadcastMouseMessage(WidgetsList& targets)
465{
466 targets.push_back(this);
467
468 // Continue sending the message to siblings windows until a desktop
469 // or foreground window.
470 if (isForeground() || isDesktop())
471 return;
472
473 Widget* sibling = nextSibling();
474 if (sibling)
475 sibling->broadcastMouseMessage(targets);
476}
477
478void Window::onSetText()
479{

Callers

nothing calls this directly

Calls 1

broadcastMouseMessageMethod · 0.80

Tested by

no test coverage detected