Mercurial > hg > svgui
diff layer/PaintAssistant.h @ 905:b66fb15de477 cxx11
Working through the float/double and int/sv_frame_t fixes
author | Chris Cannam |
---|---|
date | Mon, 09 Mar 2015 14:35:21 +0000 |
parents | 8dc50f57d480 |
children | ee01a4062747 |
line wrap: on
line diff
--- a/layer/PaintAssistant.h Mon Mar 09 12:02:10 2015 +0000 +++ b/layer/PaintAssistant.h Mon Mar 09 14:35:21 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); };