Mercurial > hg > svgui
diff layer/WaveformLayer.cpp @ 101:0f36cdf407a6 sv1-v0.9rc1
* Make vertical scale alignment modes work in note layer as well as time-value
layer, and several significant fixes to it
* Make it possible to draw notes properly on the note layer
* Show units (and frequencies etc in note layer's case) in the time-value and
note layer description boxes
* Minor fix to item edit dialog layout
* Some minor menu rearrangement
* Comment out a lot of debug output
* Add SV website and reference URLs to Help menu, and add code to (attempt to)
open them in the user's preferred browser
author | Chris Cannam |
---|---|
date | Fri, 12 May 2006 14:40:43 +0000 |
parents | 4b98bda7e94d |
children | 47cb32bb35ab |
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp Thu May 11 15:02:14 2006 +0000 +++ b/layer/WaveformLayer.cpp Fri May 12 14:40:43 2006 +0000 @@ -312,7 +312,7 @@ void WaveformLayer::setChannel(int channel) { - std::cerr << "WaveformLayer::setChannel(" << channel << ")" << std::endl; +// std::cerr << "WaveformLayer::setChannel(" << channel << ")" << std::endl; if (m_channel == channel) return; m_channel = channel; @@ -348,7 +348,8 @@ } bool -WaveformLayer::getValueExtents(float &min, float &max, QString &unit) const +WaveformLayer::getValueExtents(float &min, float &max, + bool &log, QString &unit) const { if (m_scale == LinearScale) { min = 0.0;