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

Method makeSpectrumCanvas

src/AppFrame.cpp:701–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699}
700
701SpectrumCanvas *AppFrame::makeSpectrumCanvas(wxWindow *parent, const wxGLAttributes &attribList) {
702 auto *pCanvas = new SpectrumCanvas(parent, attribList);
703 pCanvas->setShowDb(true);
704 pCanvas->setUseDBOfs(true);
705 pCanvas->setScaleFactorEnabled(true);
706 return pCanvas;
707}
708
709ModeSelectorCanvas *AppFrame::makePeakHoldButton(wxWindow *parent, const wxGLAttributes &attribList) {
710 auto *pCanvas = new ModeSelectorCanvas(parent, attribList);

Callers

nothing calls this directly

Calls 3

setUseDBOfsMethod · 0.80
setScaleFactorEnabledMethod · 0.80
setShowDbMethod · 0.45

Tested by

no test coverage detected