comparison layer/VerticalScaleLayer.h @ 946:36cddc3de023 alignment_view

Merge from default branch
author Chris Cannam
date Mon, 20 Apr 2015 09:19:52 +0100
parents e0f08e108064
children 94e4952a6774
comparison
equal deleted inserted replaced
897:499b637f2a26 946:36cddc3de023
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