MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / spectrumPixelHeight

Method spectrumPixelHeight

src/gui/SpectrumWidget.cpp:1815–1820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1813}
1814
1815int SpectrumWidget::spectrumPixelHeight() const
1816{
1817 const int chromeH = freqScaleH() + DIVIDER_H;
1818 const int contentH = std::max(0, height() - chromeH);
1819 return std::max(1, static_cast<int>(contentH * m_spectrumFrac));
1820}
1821
1822void SpectrumWidget::positionFpsMeterLabels() {
1823 if (!m_panFpsMeterLabel || !m_wfFpsMeterLabel || !m_syncFpsMeterLabel) {

Callers 2

panYpixelsForFunction · 0.80
panPixelDimensionsReadyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected