MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / xLockToggled

Method xLockToggled

gui/src/cursorcontroller.cpp:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void CursorController::xLockToggled(bool toggled)
136{
137 xLock = toggled;
138 LockGap = plotCursors->getX1Cursor()->getPosition() - plotCursors->getX2Cursor()->getPosition();
139}
140
141void CursorController::xTrackToggled(bool toggled)
142{

Callers

nothing calls this directly

Calls 3

getX1CursorMethod · 0.80
getX2CursorMethod · 0.80
getPositionMethod · 0.45

Tested by

no test coverage detected