Mercurial > hg > svgui
comparison layer/PaintAssistant.cpp @ 587:4806715f7a19
Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 15:27:05 +0100 |
parents | f4960f8ce798 |
children | 1a0dfcbffaf1 |
comparison
equal
deleted
inserted
replaced
586:1ae54a29e59e | 587:4806715f7a19 |
---|---|
102 int ny = y; | 102 int ny = y; |
103 if (nval != 0.0) { | 103 if (nval != 0.0) { |
104 ny = getYForValue(scale, nval, minVal, maxVal, rect.y(), h); | 104 ny = getYForValue(scale, nval, minVal, maxVal, rect.y(), h); |
105 } | 105 } |
106 | 106 |
107 // DEBUG << "PaintAssistant::paintVerticalLevelScale: val = " | 107 // SVDEBUG << "PaintAssistant::paintVerticalLevelScale: val = " |
108 // << val << ", y = " << y << ", h = " << h << endl; | 108 // << val << ", y = " << y << ", h = " << h << endl; |
109 | 109 |
110 bool spaceForLabel = (i == 0 || | 110 bool spaceForLabel = (i == 0 || |
111 abs(y - lastLabelledY) >= textHeight - 1); | 111 abs(y - lastLabelledY) >= textHeight - 1); |
112 | 112 |