comparison layer/WaveformLayer.h @ 373:0895517bb2d1 1.2-stable

* merge from trunk (1.2 ended up being tracked from trunk, but we may want this branch for fixes later)
author Chris Cannam
date Wed, 27 Feb 2008 10:32:45 +0000
parents 2f83b6e3b8ca
children 5b72899d692b
comparison
equal deleted inserted replaced
337:813170c57b13 373:0895517bb2d1
200 200
201 int getYForValue(const View *v, float value, size_t channel) const; 201 int getYForValue(const View *v, float value, size_t channel) const;
202 202
203 float getValueForY(const View *v, int y, size_t &channel) const; 203 float getValueForY(const View *v, int y, size_t &channel) const;
204 204
205 bool getSourceFramesForX(View *v, int x, size_t modelZoomLevel,
206 size_t &f0, size_t &f1) const;
207
208 float getNormalizeGain(View *v, int channel) const;
209
205 virtual void flagBaseColourChanged() { m_cacheValid = false; } 210 virtual void flagBaseColourChanged() { m_cacheValid = false; }
206 211
207 float m_gain; 212 float m_gain;
208 bool m_autoNormalize; 213 bool m_autoNormalize;
209 bool m_showMeans; 214 bool m_showMeans;