diff 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
line wrap: on
line diff
--- a/layer/VerticalScaleLayer.h	Wed Mar 11 15:35:20 2015 +0000
+++ b/layer/VerticalScaleLayer.h	Tue Mar 17 15:05:25 2015 +0000
@@ -19,8 +19,8 @@
 class VerticalScaleLayer
 {
 public:
-    virtual int getYForValue(View *, double value) const = 0;
-    virtual double getValueForY(View *, int y) const = 0;
+    virtual int getYForValue(LayerGeometryProvider *, double value) const = 0;
+    virtual double getValueForY(LayerGeometryProvider *, int y) const = 0;
     virtual QString getScaleUnits() const = 0;
 };