Mercurial > hg > svgui
diff widgets/Thumbwheel.cpp @ 586:1ae54a29e59e
Merge from debug-output branch
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 14:48:29 +0100 |
parents | f4960f8ce798 |
children | 4806715f7a19 |
line wrap: on
line diff
--- a/widgets/Thumbwheel.cpp Thu Apr 14 15:21:21 2011 +0100 +++ b/widgets/Thumbwheel.cpp Tue Jun 14 14:48:29 2011 +0100 @@ -142,7 +142,7 @@ bool changed = (m_mappedValue != mappedValue); m_mappedValue = mappedValue; m_noMappedUpdate = true; -// std::cerr << "Thumbwheel::setMappedValue(" << mappedValue << "): new value is " << newValue << " (visible " << isVisible() << ")" << std::endl; +// DEBUG << "Thumbwheel::setMappedValue(" << mappedValue << "): new value is " << newValue << " (visible " << isVisible() << ")" << endl; if (newValue != getValue()) { setValue(newValue); changed = true; @@ -169,8 +169,8 @@ void Thumbwheel::setValue(int value) { -// std::cerr << "Thumbwheel::setValue(" << value << ") (from " << m_value -// << ", rotation " << m_rotation << ")" << " (visible " << isVisible() << ")" << std::endl; +// DEBUG << "Thumbwheel::setValue(" << value << ") (from " << m_value +// << ", rotation " << m_rotation << ")" << " (visible " << isVisible() << ")" << endl; if (m_value != value) { @@ -206,7 +206,7 @@ Thumbwheel::getMappedValue() const { if (m_rangeMapper) { -// std::cerr << "Thumbwheel::getMappedValue(): value = " << getValue() << ", mappedValue = " << m_mappedValue << std::endl; +// DEBUG << "Thumbwheel::getMappedValue(): value = " << getValue() << ", mappedValue = " << m_mappedValue << endl; return m_mappedValue; } return getValue();