comparison layer/WaveformLayer.h @ 68:193b569a975f

* Add scale lines to waveform layer * Various fixes to vertical scale drawing for waveform and time-value layers * Make log/linear scale have an effect for time-value layer segmentation mode
author Chris Cannam
date Wed, 29 Mar 2006 16:24:25 +0000
parents c4fff27cd651
children 19bf27e4fb29
comparison
equal deleted inserted replaced
67:c4fff27cd651 68:193b569a975f
184 184
185 /// Return value is number of channels displayed 185 /// Return value is number of channels displayed
186 size_t getChannelArrangement(size_t &min, size_t &max, 186 size_t getChannelArrangement(size_t &min, size_t &max,
187 bool &merging, bool &mixing) const; 187 bool &merging, bool &mixing) const;
188 188
189 int getYForValue(View *v, Scale scale, float value, size_t channel,
190 size_t minChannel, size_t maxChannel) const;
191
189 float m_gain; 192 float m_gain;
190 bool m_autoNormalize; 193 bool m_autoNormalize;
191 QColor m_colour; 194 QColor m_colour;
192 bool m_showMeans; 195 bool m_showMeans;
193 bool m_greyscale; 196 bool m_greyscale;