Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 491:c74e511a3c96
* Fix overall mag range management in normalise-visible-area mode
author | Chris Cannam |
---|---|
date | Mon, 09 Feb 2009 12:56:16 +0000 |
parents | aa477ddcadb5 |
children | 4c484636d5ec |
comparison
equal
deleted
inserted
replaced
490:aa477ddcadb5 | 491:c74e511a3c96 |
---|---|
424 mutable std::vector<MagnitudeRange> m_columnMags; | 424 mutable std::vector<MagnitudeRange> m_columnMags; |
425 void invalidateMagnitudes(); | 425 void invalidateMagnitudes(); |
426 bool updateViewMagnitudes(View *v) const; | 426 bool updateViewMagnitudes(View *v) const; |
427 bool paintDrawBuffer(View *v, int w, int h, | 427 bool paintDrawBuffer(View *v, int w, int h, |
428 int *binforx, float *binfory, | 428 int *binforx, float *binfory, |
429 bool usePeaksCache) const; | 429 bool usePeaksCache, |
430 MagnitudeRange &overallMag, | |
431 bool &overallMagChanged) const; | |
430 bool paintDrawBufferPeakFrequencies(View *v, int w, int h, | 432 bool paintDrawBufferPeakFrequencies(View *v, int w, int h, |
431 int *binforx, | 433 int *binforx, |
432 int minbin, | 434 int minbin, |
433 int maxbin, | 435 int maxbin, |
434 float displayMinFreq, | 436 float displayMinFreq, |
435 float displayMaxFreq, | 437 float displayMaxFreq, |
436 bool logarithmic) const; | 438 bool logarithmic, |
437 //!!! phasing this one out: | 439 MagnitudeRange &overallMag, |
438 bool paintColumnValues(View *v, FFTModel *fft, int x0, int x, | 440 bool &overallMagChanged) const; |
439 int minbin, int maxbin, | |
440 float displayMinFreq, float displayMaxFreq, | |
441 float xPixelRatio, | |
442 const int h, | |
443 const float *yforbin) const; | |
444 | 441 |
445 virtual void updateMeasureRectYCoords(View *v, const MeasureRect &r) const; | 442 virtual void updateMeasureRectYCoords(View *v, const MeasureRect &r) const; |
446 virtual void setMeasureRectYCoord(View *v, MeasureRect &r, bool start, int y) const; | 443 virtual void setMeasureRectYCoord(View *v, MeasureRect &r, bool start, int y) const; |
447 }; | 444 }; |
448 | 445 |