Mercurial > hg > svgui
diff layer/LogColourScale.h @ 1216:dc2af6616c83
Merge from branch 3.0-integration
author | Chris Cannam |
---|---|
date | Fri, 13 Jan 2017 10:29:50 +0000 |
parents | 4fe7a09be0fe |
children |
line wrap: on
line diff
--- a/layer/LogColourScale.h Fri Mar 04 12:23:31 2016 +0000 +++ b/layer/LogColourScale.h Fri Jan 13 10:29:50 2017 +0000 @@ -19,16 +19,16 @@ #include <QRect> class QPainter; -class View; +class LayerGeometryProvider; class ColourScaleLayer; class LogColourScale { public: - int getWidth(View *v, QPainter &paint); + int getWidth(LayerGeometryProvider *v, QPainter &paint); void paintVertical - (View *v, const ColourScaleLayer *layer, QPainter &paint, int x0, + (LayerGeometryProvider *v, const ColourScaleLayer *layer, QPainter &paint, int x0, double minf, double maxf); };