comparison 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
comparison
equal deleted inserted replaced
524:7e180ec7773c 525:e6e38632e8ea
2032 } 2032 }
2033 2033
2034 if (paintBlockWidth < 20) paintBlockWidth = 20; 2034 if (paintBlockWidth < 20) paintBlockWidth = 20;
2035 } 2035 }
2036 2036
2037 //#ifdef DEBUG_SPECTROGRAM_REPAINT 2037 #ifdef DEBUG_SPECTROGRAM_REPAINT
2038 std::cerr << "[" << this << "]: last paint width: " << m_lastPaintBlockWidth << ", last paint time: " << m_lastPaintTime << ", new paint width: " << paintBlockWidth << std::endl; 2038 std::cerr << "[" << this << "]: last paint width: " << m_lastPaintBlockWidth << ", last paint time: " << m_lastPaintTime << ", new paint width: " << paintBlockWidth << std::endl;
2039 //#endif 2039 #endif
2040 2040
2041 // We always paint the full height when refreshing the cache. 2041 // We always paint the full height when refreshing the cache.
2042 // Smaller heights can be used when painting direct from cache 2042 // Smaller heights can be used when painting direct from cache
2043 // (further up in this function), but we want to ensure the cache 2043 // (further up in this function), but we want to ensure the cache
2044 // is coherent without having to worry about vertical matching of 2044 // is coherent without having to worry about vertical matching of