diff 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
line wrap: on
line diff
--- a/layer/WaveformLayer.h	Wed Mar 29 12:35:17 2006 +0000
+++ b/layer/WaveformLayer.h	Wed Mar 29 16:24:25 2006 +0000
@@ -186,6 +186,9 @@
     size_t getChannelArrangement(size_t &min, size_t &max,
                                  bool &merging, bool &mixing) const;
 
+    int getYForValue(View *v, Scale scale, float value, size_t channel,
+                     size_t minChannel, size_t maxChannel) const;
+
     float        m_gain;
     bool         m_autoNormalize;
     QColor       m_colour;