Mercurial > hg > svgui
diff layer/PaintAssistant.h @ 922:26da827e8fb5 tonioni
Merge from cxx11 branch
author | Chris Cannam |
---|---|
date | Mon, 23 Mar 2015 11:26:28 +0000 |
parents | b66fb15de477 |
children | ee01a4062747 |
line wrap: on
line diff
--- a/layer/PaintAssistant.h Mon Mar 23 10:04:51 2015 +0000 +++ b/layer/PaintAssistant.h Mon Mar 23 11:26:28 2015 +0000 @@ -27,12 +27,12 @@ enum Scale { LinearScale, MeterScale, dBScale }; static void paintVerticalLevelScale(QPainter &p, QRect rect, - float minVal, float maxVal, + double minVal, double maxVal, Scale scale, int &multRtn, std::vector<int> *markCoordRtns = 0); - static int getYForValue(Scale scale, float value, - float minVal, float maxVal, + static int getYForValue(Scale scale, double value, + double minVal, double maxVal, int minY, int height); };