Mercurial > hg > svgui
diff layer/WaveformLayer.h @ 261:11021509c4eb
* some more work on measurement tool, and refactor Pane::paintEvent
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2007 16:28:27 +0000 |
parents | 34bbbcb3c01f |
children | 4ed1446ad604 |
line wrap: on
line diff
--- a/layer/WaveformLayer.h Thu Jun 14 15:20:49 2007 +0000 +++ b/layer/WaveformLayer.h Thu Jun 14 16:28:27 2007 +0000 @@ -179,6 +179,9 @@ virtual bool getValueExtents(float &min, float &max, bool &log, QString &unit) const; + virtual bool getYScaleValue(View *v, int y, + float &value, QString &unit) const; + virtual QString toXmlString(QString indent = "", QString extraAttributes = "") const; @@ -200,6 +203,9 @@ int getYForValue(View *v, Scale scale, float value, size_t channel, size_t minChannel, size_t maxChannel) const; + float getValueForY(View *v, Scale scale, int y, + size_t minChannel, size_t maxChannel) const; + float m_gain; bool m_autoNormalize; QColor m_colour;