diff layer/SpectrumLayer.h @ 274:b9380f679f70

* Fix centre line position * Fix failure to update overview when generating peaks from wav file * Provide y-coordinate scale values and differences for spectrum measurement mode, and fix values for waveform (inc dB for both) * Add Printer colour scheme (may be futile)
author Chris Cannam
date Mon, 02 Jul 2007 13:04:17 +0000
parents 4ed1446ad604
children bbe57afe9d7d
line wrap: on
line diff
--- a/layer/SpectrumLayer.h	Fri Jun 29 16:50:59 2007 +0000
+++ b/layer/SpectrumLayer.h	Mon Jul 02 13:04:17 2007 +0000
@@ -62,6 +62,12 @@
     virtual bool getXScaleValue(const View *v, int x,
                                 float &value, QString &unit) const;
 
+    virtual bool getYScaleValue(const View *, int y,
+                                float &value, QString &unit) const;
+
+    virtual bool getYScaleDifference(const View *, int y0, int y1,
+                                     float &diff, QString &unit) const;
+
     virtual bool isLayerScrollable(const View *) const { return false; }
 
     void setChannel(int);