diff layer/SpectrogramLayer.h @ 488:5cd6f0d3f42d

* Re-enable peak frequencies display in spectrogram
author Chris Cannam
date Thu, 05 Feb 2009 17:33:21 +0000
parents c860cab85904
children aa477ddcadb5
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Thu Feb 05 13:31:27 2009 +0000
+++ b/layer/SpectrogramLayer.h	Thu Feb 05 17:33:21 2009 +0000
@@ -427,6 +427,13 @@
     bool paintDrawBuffer(View *v, int w, int h,
                          int *binforx, int *binfory,
                          bool usePeaksCache) const;
+    bool paintDrawBufferPeakFrequencies(View *v, int w, int h,
+                                        int *binforx,
+                                        int minbin,
+                                        int maxbin,
+                                        float displayMinFreq,
+                                        float displayMaxFreq,
+                                        bool logarithmic) const;
     //!!! phasing this one out:
     bool paintColumnValues(View *v, FFTModel *fft, int x0, int x,
                            int minbin, int maxbin,