Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 525:e6e38632e8ea sv-v1.5
* debug tidy
author | Chris Cannam |
---|---|
date | Mon, 16 Mar 2009 16:42:34 +0000 |
parents | fe134ec37a2a |
children | 1092181784a3 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Mon Mar 16 16:36:23 2009 +0000 +++ b/layer/SpectrogramLayer.cpp Mon Mar 16 16:42:34 2009 +0000 @@ -2034,9 +2034,9 @@ if (paintBlockWidth < 20) paintBlockWidth = 20; } -//#ifdef DEBUG_SPECTROGRAM_REPAINT +#ifdef DEBUG_SPECTROGRAM_REPAINT std::cerr << "[" << this << "]: last paint width: " << m_lastPaintBlockWidth << ", last paint time: " << m_lastPaintTime << ", new paint width: " << paintBlockWidth << std::endl; -//#endif +#endif // We always paint the full height when refreshing the cache. // Smaller heights can be used when painting direct from cache