comparison layer/VerticalScaleLayer.h @ 916:94e4952a6774 osx-retina

Start trying to introduce LayerGeometryProvider as proxyable interface for View methods that the Layer wants to use
author Chris Cannam
date Tue, 17 Mar 2015 15:05:25 +0000
parents e0f08e108064
children c98a1fe7c7f5
comparison
equal deleted inserted replaced
915:f6d9f28f37cb 916:94e4952a6774
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 *, double value) const = 0; 22 virtual int getYForValue(LayerGeometryProvider *, double value) const = 0;
23 virtual double getValueForY(View *, int y) const = 0; 23 virtual double getValueForY(LayerGeometryProvider *, 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