diff layer/PaintAssistant.h @ 944:78c152e4db95

Merge from branch tonioni
author Chris Cannam
date Mon, 20 Apr 2015 09:12:17 +0100
parents b66fb15de477
children ee01a4062747
line wrap: on
line diff
--- a/layer/PaintAssistant.h	Thu Jan 15 10:42:00 2015 +0000
+++ b/layer/PaintAssistant.h	Mon Apr 20 09:12:17 2015 +0100
@@ -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);
 };