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

Method OnMouseEnterWindow

src/visual/MeterCanvas.cpp:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void MeterCanvas::OnMouseEnterWindow(wxMouseEvent& event) {
178 InteractiveCanvas::mouseTracker.OnMouseEnterWindow(event);
179 SetCursor(wxCURSOR_CROSS);
180#ifdef _WIN32
181 if (wxGetApp().getAppFrame()->canFocus()) {
182 this->SetFocus();
183 }
184#endif
185}
186
187void MeterCanvas::setHelpTip(std::string tip) {
188 helpTip = tip;

Callers

nothing calls this directly

Calls 2

canFocusMethod · 0.80
getAppFrameMethod · 0.80

Tested by

no test coverage detected