Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 1115:ee8e73dc5c8b spectrogram-minor-refactor
Re-enable a couple more features
author | Chris Cannam |
---|---|
date | Tue, 19 Jul 2016 15:02:44 +0100 |
parents | 261a00010918 |
children | 64709d4d09ef |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Tue Jul 19 14:50:39 2016 +0100 +++ b/layer/SpectrogramLayer.cpp Tue Jul 19 15:02:44 2016 +0100 @@ -1090,7 +1090,12 @@ double SpectrogramLayer::getYForBin(const LayerGeometryProvider *, double) const { - //!!! not implemented + //!!! not implemented -- needed for non-opaque render + + //!!! this will crash, as it stands, when a spectrogram without + //!!! smoothing is zoomed in + + //!!! overlap with range methods throw std::logic_error("not implemented"); } @@ -1479,7 +1484,7 @@ params.normalization = m_normalization; params.binDisplay = m_binDisplay; params.binScale = m_binScale; - params.alwaysOpaque = true; + params.alwaysOpaque = false; params.invertVertical = false; params.colourRotation = m_colourRotation;