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

Method OnMouseEnterWindow

src/visual/TuningCanvas.cpp:439–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439void TuningCanvas::OnMouseEnterWindow(wxMouseEvent& event) {
440 InteractiveCanvas::mouseTracker.OnMouseEnterWindow(event);
441 SetCursor(wxCURSOR_ARROW);
442 hoverIndex = 0;
443 hoverState = TUNING_HOVER_NONE;
444 lastPPM = currentPPM = wxGetApp().getPPM();
445#ifdef _WIN32
446 if (wxGetApp().getAppFrame()->canFocus()) {
447 this->SetFocus();
448 }
449#endif
450}
451
452void TuningCanvas::setHelpTip(std::string tip) {
453 helpTip = tip;

Callers

nothing calls this directly

Calls 3

canFocusMethod · 0.80
getAppFrameMethod · 0.80
getPPMMethod · 0.45

Tested by

no test coverage detected