Mercurial > hg > svgui
diff layer/SpectrogramLayer.h @ 1136:9ff838a64461 spectrogram-minor-refactor
Re-enable (little-used) normalise-visible-range option in spectrogram layer
author | Chris Cannam |
---|---|
date | Wed, 03 Aug 2016 16:16:23 +0100 |
parents | 9fb8dfd7ce4c |
children | 4e7ed3252d80 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h Wed Aug 03 14:20:27 2016 +0100 +++ b/layer/SpectrogramLayer.h Wed Aug 03 16:16:23 2016 +0100 @@ -300,9 +300,8 @@ typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id mutable ViewMagMap m_viewMags; -//!!! mutable std::vector<MagnitudeRange> m_columnMags; + mutable ViewMagMap m_lastRenderedMags; // when in normalizeVisibleArea mode void invalidateMagnitudes(); -//!!! bool updateViewMagnitudes(LayerGeometryProvider *v) const; typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id mutable ViewRendererMap m_renderers;