Mercurial > hg > svgui
diff layer/PaintAssistant.cpp @ 1266:a34a2a25907c
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | dc6457ac4d07 |
children | 6e35062fc10a |
line wrap: on
line diff
--- a/layer/PaintAssistant.cpp Thu Mar 01 14:43:53 2018 +0000 +++ b/layer/PaintAssistant.cpp Thu Mar 01 18:02:22 2018 +0000 @@ -29,7 +29,7 @@ void PaintAssistant::paintVerticalLevelScale(QPainter &paint, QRect rect, - double minVal, double maxVal, + double minVal, double maxVal, Scale scale, int &mult, std::vector<int> *vy) { @@ -243,18 +243,18 @@ paint.drawRect(r); paint.setBrush(Qt::NoBrush); - paint.setPen(surroundColour); + paint.setPen(surroundColour); - for (int dx = -1; dx <= 1; ++dx) { - for (int dy = -1; dy <= 1; ++dy) { - if (!(dx || dy)) continue; - paint.drawText(x + dx, y + dy, text); - } - } + for (int dx = -1; dx <= 1; ++dx) { + for (int dy = -1; dy <= 1; ++dy) { + if (!(dx || dy)) continue; + paint.drawText(x + dx, y + dy, text); + } + } - paint.setPen(penColour); + paint.setPen(penColour); - paint.drawText(x, y, text); + paint.drawText(x, y, text); paint.restore();