diff layer/SpectrogramLayer.h @ 1039:bfce7940c017 spectrogram-minor-refactor

Don't use partial paints when zoomed in far enough to have boundary alignment concerns. (But boundary calculations are still wrong, leading to a logic error exception.)
author Chris Cannam
date Tue, 02 Feb 2016 16:00:31 +0000
parents 0be17aafa935
children 5e5873c24142
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Tue Feb 02 15:34:39 2016 +0000
+++ b/layer/SpectrogramLayer.h	Tue Feb 02 16:00:31 2016 +0000
@@ -412,7 +412,8 @@
                         bool usePeaksCache,
                         MagnitudeRange &overallMag,
                         bool &overallMagChanged,
-                        bool rightToLeft) const;
+                        bool rightToLeft,
+                        double softTimeLimit) const;
     int paintDrawBufferPeakFrequencies(LayerGeometryProvider *v, int w, int h,
                                        const std::vector<int> &binforx,
                                        int minbin,
@@ -422,7 +423,8 @@
                                        bool logarithmic,
                                        MagnitudeRange &overallMag,
                                        bool &overallMagChanged,
-                                       bool rightToLeft) const;
+                                       bool rightToLeft,
+                                       double softTimeLimit) const;
 
     virtual void updateMeasureRectYCoords(LayerGeometryProvider *v, const MeasureRect &r) const;
     virtual void setMeasureRectYCoord(LayerGeometryProvider *v, MeasureRect &r, bool start, int y) const;