Mercurial > hg > svgui
comparison layer/WaveformLayer.cpp @ 2:77dad696d740
* Add some tool icons (mostly nabbed from the Gimp)
* Minor fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Jan 2006 17:37:43 +0000 |
parents | 2a4f26e85b4c |
children | ce747045a023 |
comparison
equal
deleted
inserted
replaced
1:ab83c415a6cd | 2:77dad696d740 |
---|---|
334 } | 334 } |
335 | 335 |
336 long startFrame = m_view->getStartFrame(); | 336 long startFrame = m_view->getStartFrame(); |
337 int zoomLevel = m_view->getZoomLevel(); | 337 int zoomLevel = m_view->getZoomLevel(); |
338 | 338 |
339 | 339 #ifdef DEBUG_WAVEFORM_PAINT |
340 Profiler profiler("WaveformLayer::paint", true); | 340 Profiler profiler("WaveformLayer::paint", true); |
341 std::cerr << "WaveformLayer::paint (" << rect.x() << "," << rect.y() | 341 std::cerr << "WaveformLayer::paint (" << rect.x() << "," << rect.y() |
342 << ") [" << rect.width() << "x" << rect.height() << "]: zoom " << zoomLevel << ", start " << startFrame << std::endl; | 342 << ") [" << rect.width() << "x" << rect.height() << "]: zoom " << zoomLevel << ", start " << startFrame << std::endl; |
343 | 343 #endif |
344 | 344 |
345 size_t channels = 0, minChannel = 0, maxChannel = 0; | 345 size_t channels = 0, minChannel = 0, maxChannel = 0; |
346 bool mergingChannels = false; | 346 bool mergingChannels = false; |
347 | 347 |
348 channels = getChannelArrangement(minChannel, maxChannel, mergingChannels); | 348 channels = getChannelArrangement(minChannel, maxChannel, mergingChannels); |