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

Method makeSpectrumAvgMeter

src/AppFrame.cpp:691–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689}
690
691MeterCanvas * AppFrame::makeSpectrumAvgMeter(wxWindow *parent, const wxGLAttributes &attribList) {
692 auto *pCanvas = new MeterCanvas(parent, attribList);
693 pCanvas->setHelpTip("Spectrum averaging speed, click or drag to adjust.");
694 pCanvas->setMax(1.0);
695 pCanvas->setLevel(0.65f);
696 pCanvas->setShowUserInput(false);
697 pCanvas->SetMinSize(wxSize(12, 24));
698 return pCanvas;
699}
700
701SpectrumCanvas *AppFrame::makeSpectrumCanvas(wxWindow *parent, const wxGLAttributes &attribList) {
702 auto *pCanvas = new SpectrumCanvas(parent, attribList);

Callers

nothing calls this directly

Calls 4

setMaxMethod · 0.80
setLevelMethod · 0.80
setShowUserInputMethod · 0.80
setHelpTipMethod · 0.45

Tested by

no test coverage detected