Mercurial > hg > svgui
diff layer/SpectrogramLayer.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 | 28d05ae8741c |
children | 4fe7a09be0fe |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h Wed Mar 11 15:35:20 2015 +0000 +++ b/layer/SpectrogramLayer.h Tue Mar 17 15:05:25 2015 +0000 @@ -57,7 +57,7 @@ virtual const ZoomConstraint *getZoomConstraint() const { return this; } 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 void setSynchronousPainting(bool synchronous); virtual int getVerticalScaleWidth(View *v, bool detailed, QPainter &) const;