Mercurial > hg > svgui
comparison widgets/Panner.cpp @ 585:f4960f8ce798 debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:25 +0100 |
parents | 76cd1c89eb06 |
children | 4806715f7a19 |
comparison
equal
deleted
inserted
replaced
584:1fe7951a61e8 | 585:f4960f8ce798 |
---|---|
208 } | 208 } |
209 | 209 |
210 void | 210 void |
211 Panner::setRectExtents(float x0, float y0, float width, float height) | 211 Panner::setRectExtents(float x0, float y0, float width, float height) |
212 { | 212 { |
213 // std::cerr << "Panner::setRectExtents(" << x0 << ", " << y0 << ", " | 213 // DEBUG << "Panner::setRectExtents(" << x0 << ", " << y0 << ", " |
214 // << width << ", " << height << ")" << std::endl; | 214 // << width << ", " << height << ")" << endl; |
215 | 215 |
216 if (m_rectX == x0 && | 216 if (m_rectX == x0 && |
217 m_rectY == y0 && | 217 m_rectY == y0 && |
218 m_rectWidth == width && | 218 m_rectWidth == width && |
219 m_rectHeight == height) { | 219 m_rectHeight == height) { |