Mercurial > hg > svgui
comparison layer/SpectrogramLayer.cpp @ 124:bd6e85b3d88b
* Avoid note layer erasing notes as cursor passes over them
* Correct y coord of notes on note layer
author | Chris Cannam |
---|---|
date | Wed, 26 Jul 2006 16:48:07 +0000 |
parents | 71992cee2ece |
children | 33929e0c3c6b |
comparison
equal
deleted
inserted
replaced
123:842bf484ee15 | 124:bd6e85b3d88b |
---|---|
1645 v->setLightBackground(true); | 1645 v->setLightBackground(true); |
1646 } else { | 1646 } else { |
1647 v->setLightBackground(false); | 1647 v->setLightBackground(false); |
1648 } | 1648 } |
1649 | 1649 |
1650 Profiler profiler("SpectrogramLayer::paint", true); | 1650 // Profiler profiler("SpectrogramLayer::paint", true); |
1651 #ifdef DEBUG_SPECTROGRAM_REPAINT | 1651 #ifdef DEBUG_SPECTROGRAM_REPAINT |
1652 std::cerr << "SpectrogramLayer::paint(): m_model is " << m_model << ", zoom level is " << v->getZoomLevel() << ", m_updateTimer " << m_updateTimer << std::endl; | 1652 std::cerr << "SpectrogramLayer::paint(): m_model is " << m_model << ", zoom level is " << v->getZoomLevel() << ", m_updateTimer " << m_updateTimer << std::endl; |
1653 | 1653 |
1654 std::cerr << "rect is " << rect.x() << "," << rect.y() << " " << rect.width() << "x" << rect.height() << std::endl; | 1654 std::cerr << "rect is " << rect.x() << "," << rect.y() << " " << rect.width() << "x" << rect.height() << std::endl; |
1655 #endif | 1655 #endif |