| 40 | wxEND_EVENT_TABLE() |
| 41 | |
| 42 | WaterfallCanvas::WaterfallCanvas(wxWindow *parent, const wxGLAttributes& dispAttrs) : |
| 43 | InteractiveCanvas(parent, dispAttrs), dragState(WF_DRAG_NONE), nextDragState(WF_DRAG_NONE), fft_size(0), new_fft_size(0), waterfall_lines(0), |
| 44 | dragOfs(0), mouseZoom(1), zoom(1), freqMoving(false), freqMove(0.0), hoverAlpha(1.0) { |
| 45 | |
| 46 | glContext = new PrimaryGLContext(this, &wxGetApp().GetContext(this), wxGetApp().GetContextAttributes()); |
| 47 | linesPerSecond = DEFAULT_WATERFALL_LPS; |
| 48 | lpsIndex = 0; |
| 49 | preBuf = false; |
| 50 | SetCursor(wxCURSOR_CROSS); |
| 51 | scaleMove = 0; |
| 52 | minBandwidth = 30000; |
| 53 | fft_size_changed.store(false); |
| 54 | } |
| 55 | |
| 56 | WaterfallCanvas::~WaterfallCanvas() = default; |
| 57 |
nothing calls this directly
no test coverage detected