comparison 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
comparison
equal deleted inserted replaced
903:1757933ce5a7 904:e0f08e108064
17 #define VERTICAL_SCALE_LAYER_H 17 #define VERTICAL_SCALE_LAYER_H
18 18
19 class VerticalScaleLayer 19 class VerticalScaleLayer
20 { 20 {
21 public: 21 public:
22 virtual int getYForValue(View *, float value) const = 0; 22 virtual int getYForValue(View *, double value) const = 0;
23 virtual float getValueForY(View *, int y) const = 0; 23 virtual double getValueForY(View *, int y) const = 0;
24 virtual QString getScaleUnits() const = 0; 24 virtual QString getScaleUnits() const = 0;
25 }; 25 };
26 26
27 #endif 27 #endif
28 28