diff layer/WaveformLayer.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 4a578a360011
children 4fe7a09be0fe
line wrap: on
line diff
--- a/layer/WaveformLayer.h	Wed Mar 11 15:35:20 2015 +0000
+++ b/layer/WaveformLayer.h	Tue Mar 17 15:05:25 2015 +0000
@@ -38,7 +38,7 @@
         return m_model ? m_model->getZoomConstraint() : 0;
     }
     virtual const Model *getModel() const { return m_model; }
-    virtual void paint(View *v, QPainter &paint, QRect rect) const;
+    virtual void paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const;
 
     virtual QString getFeatureDescription(View *v, QPoint &) const;