Mercurial > hg > svgui
diff layer/VerticalScaleLayer.h @ 904:e0f08e108064 cxx11
Move to using double rather than float for floating-point calculations (float only for storage); more build fixes
author | Chris Cannam |
---|---|
date | Mon, 09 Mar 2015 12:02:10 +0000 |
parents | 084f65094203 |
children | 94e4952a6774 |
line wrap: on
line diff
--- a/layer/VerticalScaleLayer.h Mon Mar 09 08:43:20 2015 +0000 +++ b/layer/VerticalScaleLayer.h Mon Mar 09 12:02:10 2015 +0000 @@ -19,8 +19,8 @@ class VerticalScaleLayer { public: - virtual int getYForValue(View *, float value) const = 0; - virtual float getValueForY(View *, int y) const = 0; + virtual int getYForValue(View *, double value) const = 0; + virtual double getValueForY(View *, int y) const = 0; virtual QString getScaleUnits() const = 0; };