Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 1026:53110ace211f spectrogram-minor-refactor
Draw right-to-left when adjoining an existing cache valid area on the right
author | Chris Cannam |
---|---|
date | Tue, 26 Jan 2016 13:19:53 +0000 |
parents | c02de0e34233 |
children | 0be17aafa935 |
comparison
equal
deleted
inserted
replaced
1025:c02de0e34233 | 1026:53110ace211f |
---|---|
419 int paintDrawBuffer(LayerGeometryProvider *v, int w, int h, | 419 int paintDrawBuffer(LayerGeometryProvider *v, int w, int h, |
420 const std::vector<int> &binforx, | 420 const std::vector<int> &binforx, |
421 const std::vector<double> &binfory, | 421 const std::vector<double> &binfory, |
422 bool usePeaksCache, | 422 bool usePeaksCache, |
423 MagnitudeRange &overallMag, | 423 MagnitudeRange &overallMag, |
424 bool &overallMagChanged) const; | 424 bool &overallMagChanged, |
425 bool rightToLeft) const; | |
425 int paintDrawBufferPeakFrequencies(LayerGeometryProvider *v, int w, int h, | 426 int paintDrawBufferPeakFrequencies(LayerGeometryProvider *v, int w, int h, |
426 const std::vector<int> &binforx, | 427 const std::vector<int> &binforx, |
427 int minbin, | 428 int minbin, |
428 int maxbin, | 429 int maxbin, |
429 double displayMinFreq, | 430 double displayMinFreq, |
430 double displayMaxFreq, | 431 double displayMaxFreq, |
431 bool logarithmic, | 432 bool logarithmic, |
432 MagnitudeRange &overallMag, | 433 MagnitudeRange &overallMag, |
433 bool &overallMagChanged) const; | 434 bool &overallMagChanged, |
435 bool rightToLeft) const; | |
434 | 436 |
435 virtual void updateMeasureRectYCoords(LayerGeometryProvider *v, const MeasureRect &r) const; | 437 virtual void updateMeasureRectYCoords(LayerGeometryProvider *v, const MeasureRect &r) const; |
436 virtual void setMeasureRectYCoord(LayerGeometryProvider *v, MeasureRect &r, bool start, int y) const; | 438 virtual void setMeasureRectYCoord(LayerGeometryProvider *v, MeasureRect &r, bool start, int y) const; |
437 }; | 439 }; |
438 | 440 |