MCPcopy Create free account
hub / github.com/IENT/YUView / setZoomBoxPixelUnderCursor

Method setZoomBoxPixelUnderCursor

YUViewLib/src/ui/views/SplitViewWidget.cpp:604–617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602}
603
604void splitViewWidget::setZoomBoxPixelUnderCursor(QPoint posA,
605 QPoint posB,
606 bool setOtherViewIfLinked,
607 bool callUpdate)
608{
609 if (this->enableLink && setOtherViewIfLinked)
610 this->getOtherWidget()->setZoomBoxPixelUnderCursor(posA, posB, false, true);
611
612 this->zoomBoxPixelUnderCursor[0] = posA;
613 this->zoomBoxPixelUnderCursor[1] = posB;
614
615 if (callUpdate)
616 update();
617}
618
619void splitViewWidget::paintZoomBox(int view,
620 QPainter & painter,

Callers

nothing calls this directly

Calls 1

getOtherWidgetMethod · 0.95

Tested by

no test coverage detected