| 770 | } |
| 771 | |
| 772 | MeterCanvas *AppFrame::makeSignalMeter(wxWindow *parent, const wxGLAttributes &attribList) { |
| 773 | auto *pCanvas = new MeterCanvas(parent, attribList); |
| 774 | pCanvas->setMax(DEMOD_SIGNAL_MAX); |
| 775 | pCanvas->setMin(DEMOD_SIGNAL_MIN); |
| 776 | pCanvas->setLevel(DEMOD_SIGNAL_MIN); |
| 777 | pCanvas->setInputValue(DEMOD_SIGNAL_MIN); |
| 778 | pCanvas->setHelpTip("Current Signal Level. Click / Drag to set Squelch level. Right-Click to Auto-Zero Squelch"); |
| 779 | pCanvas->SetMinSize(wxSize(12, 24)); |
| 780 | return pCanvas; |
| 781 | } |
| 782 | |
| 783 | SpectrumCanvas *AppFrame::makeDemodSpectrumCanvas(wxWindow *parent, const wxGLAttributes &attribList) { |
| 784 | auto *pCanvas = new SpectrumCanvas(parent, attribList); |
nothing calls this directly
no test coverage detected