MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / OnMouseRightDown

Method OnMouseRightDown

src/visual/SpectrumCanvas.cpp:294–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294void SpectrumCanvas::OnMouseRightDown(wxMouseEvent& event) {
295 SetCursor(wxCURSOR_SIZENS);
296 mouseTracker.setHorizDragLock(true);
297 mouseTracker.OnMouseRightDown(event);
298 scaleFactor = wxGetApp().getSpectrumProcessor()->getScaleFactor();
299}
300
301void SpectrumCanvas::OnMouseRightReleased(wxMouseEvent& event) {
302 SetCursor(wxCURSOR_CROSS);

Callers

nothing calls this directly

Calls 3

setHorizDragLockMethod · 0.80
getSpectrumProcessorMethod · 0.80
getScaleFactorMethod · 0.45

Tested by

no test coverage detected