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

Method makeSignalMeter

src/AppFrame.cpp:772–781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770}
771
772MeterCanvas *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
783SpectrumCanvas *AppFrame::makeDemodSpectrumCanvas(wxWindow *parent, const wxGLAttributes &attribList) {
784 auto *pCanvas = new SpectrumCanvas(parent, attribList);

Callers

nothing calls this directly

Calls 5

setMaxMethod · 0.80
setMinMethod · 0.80
setLevelMethod · 0.80
setInputValueMethod · 0.80
setHelpTipMethod · 0.45

Tested by

no test coverage detected