| 1813 | } |
| 1814 | |
| 1815 | int 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 | |
| 1822 | void SpectrumWidget::positionFpsMeterLabels() { |
| 1823 | if (!m_panFpsMeterLabel || !m_wfFpsMeterLabel || !m_syncFpsMeterLabel) { |
no outgoing calls
no test coverage detected