| 32 | wxEND_EVENT_TABLE() |
| 33 | |
| 34 | SpectrumCanvas::SpectrumCanvas(wxWindow *parent, const wxGLAttributes& dispAttrs) : |
| 35 | InteractiveCanvas(parent, dispAttrs), waterfallCanvas(nullptr) { |
| 36 | |
| 37 | glContext = new PrimaryGLContext(this, &wxGetApp().GetContext(this), wxGetApp().GetContextAttributes()); |
| 38 | |
| 39 | visualDataQueue->set_max_num_items(1); |
| 40 | |
| 41 | SetCursor(wxCURSOR_SIZEWE); |
| 42 | scaleFactor = 1.0; |
| 43 | resetScaleFactor = false; |
| 44 | scaleFactorEnabled = false; |
| 45 | bwChange = 0.0; |
| 46 | } |
| 47 | |
| 48 | SpectrumCanvas::~SpectrumCanvas() = default; |
| 49 |
nothing calls this directly
no test coverage detected