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

Method OnMouseLeftWindow

src/visual/TuningCanvas.cpp:426–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426void TuningCanvas::OnMouseLeftWindow(wxMouseEvent& event) {
427 InteractiveCanvas::OnMouseLeftWindow(event);
428 SetCursor(wxCURSOR_CROSS);
429 hoverIndex = 0;
430 hoverState = TUNING_HOVER_NONE;
431 wxGetApp().getDemodMgr().setActiveDemodulator(nullptr);
432
433 if (currentPPM != lastPPM) {
434 wxGetApp().saveConfig();
435 }
436 Refresh();
437}
438
439void TuningCanvas::OnMouseEnterWindow(wxMouseEvent& event) {
440 InteractiveCanvas::mouseTracker.OnMouseEnterWindow(event);

Callers

nothing calls this directly

Calls 2

setActiveDemodulatorMethod · 0.80
saveConfigMethod · 0.80

Tested by

no test coverage detected