comparison 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
comparison
equal deleted inserted replaced
273:e954c00cbe55 274:b9380f679f70
60 bool &logarithmic, QString &unit) const; 60 bool &logarithmic, QString &unit) const;
61 61
62 virtual bool getXScaleValue(const View *v, int x, 62 virtual bool getXScaleValue(const View *v, int x,
63 float &value, QString &unit) const; 63 float &value, QString &unit) const;
64 64
65 virtual bool getYScaleValue(const View *, int y,
66 float &value, QString &unit) const;
67
68 virtual bool getYScaleDifference(const View *, int y0, int y1,
69 float &diff, QString &unit) const;
70
65 virtual bool isLayerScrollable(const View *) const { return false; } 71 virtual bool isLayerScrollable(const View *) const { return false; }
66 72
67 void setChannel(int); 73 void setChannel(int);
68 int getChannel() const { return m_channel; } 74 int getChannel() const { return m_channel; }
69 75