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

Method InteractiveCanvas

src/visual/InteractiveCanvas.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#include <wx/numformatter.h>
19
20InteractiveCanvas::InteractiveCanvas(wxWindow *parent, const wxGLAttributes& dispAttrs) :
21 wxGLCanvas(parent, dispAttrs, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE),
22 parent(parent), shiftDown(false), altDown(false), ctrlDown(false), centerFreq(0), bandwidth(0), lastBandwidth(0), isView(
23 false) {
24 mouseTracker.setTarget(this);
25}
26
27InteractiveCanvas::~InteractiveCanvas() = default;
28

Callers

nothing calls this directly

Calls 1

setTargetMethod · 0.80

Tested by

no test coverage detected