Mercurial > hg > svgui
diff layer/SpectrumLayer.cpp @ 287:cd2492c5fe45
* Add SingleColourLayer to manage colours for layers that have a single
predominant colour (i.e. most of them).
author | Chris Cannam |
---|---|
date | Thu, 12 Jul 2007 16:14:59 +0000 |
parents | 9dd432665059 |
children | 3101c68a00c1 |
line wrap: on
line diff
--- a/layer/SpectrumLayer.cpp Wed Jul 11 20:46:37 2007 +0000 +++ b/layer/SpectrumLayer.cpp Thu Jul 12 16:14:59 2007 +0000 @@ -644,7 +644,9 @@ int w = v->width() - xorigin - 1; int pkh = 0; - if (m_binScale == LogBins) pkh = 10; +//!!! if (m_binScale == LogBins) { + pkh = 10; +//!!! } if (fft && m_showPeaks) { @@ -707,9 +709,9 @@ //relevant to Colour3DPlotLayer with unit Hz, but that's a bigger //proposition. - if (m_binScale == LogBins) { +// if (m_binScale == LogBins) { - int pkh = 10; +// int pkh = 10; int h = v->height(); // piano keyboard @@ -779,7 +781,7 @@ ppx = px; px = x; } - } +// } } void