comparison layer/SpectrogramLayer.h @ 1022:2bd5eb6a6c6b colourschemes

Tidy a bit
author Chris Cannam
date Fri, 22 Jan 2016 17:08:02 +0000
parents 4f4f0e158ecf
children 74755fa6ea9e
comparison
equal deleted inserted replaced
1021:33d7e1a6747b 1022:2bd5eb6a6c6b
416 typedef std::map<const LayerGeometryProvider *, MagnitudeRange> ViewMagMap; 416 typedef std::map<const LayerGeometryProvider *, MagnitudeRange> ViewMagMap;
417 mutable ViewMagMap m_viewMags; 417 mutable ViewMagMap m_viewMags;
418 mutable std::vector<MagnitudeRange> m_columnMags; 418 mutable std::vector<MagnitudeRange> m_columnMags;
419 void invalidateMagnitudes(); 419 void invalidateMagnitudes();
420 bool updateViewMagnitudes(LayerGeometryProvider *v) const; 420 bool updateViewMagnitudes(LayerGeometryProvider *v) const;
421 bool paintDrawBuffer(LayerGeometryProvider *v, int w, int h, 421 void paintDrawBuffer(LayerGeometryProvider *v, int w, int h,
422 const std::vector<int> &binforx, 422 const std::vector<int> &binforx,
423 const std::vector<double> &binfory, 423 const std::vector<double> &binfory,
424 bool usePeaksCache, 424 bool usePeaksCache,
425 MagnitudeRange &overallMag, 425 MagnitudeRange &overallMag,
426 bool &overallMagChanged) const; 426 bool &overallMagChanged) const;
427 bool paintDrawBufferPeakFrequencies(LayerGeometryProvider *v, int w, int h, 427 void paintDrawBufferPeakFrequencies(LayerGeometryProvider *v, int w, int h,
428 const std::vector<int> &binforx, 428 const std::vector<int> &binforx,
429 int minbin, 429 int minbin,
430 int maxbin, 430 int maxbin,
431 double displayMinFreq, 431 double displayMinFreq,
432 double displayMaxFreq, 432 double displayMaxFreq,