comparison layer/LogColourScale.h @ 1045:f535f6e5dbb0 alignment-simple

Merge in from SV 3.0-integration branches
author Chris Cannam
date Wed, 02 Mar 2016 17:25:27 +0000
parents 4fe7a09be0fe
children
comparison
equal deleted inserted replaced
976:f2c63ec85901 1045:f535f6e5dbb0
17 #define LOG_COLOUR_SCALE_H 17 #define LOG_COLOUR_SCALE_H
18 18
19 #include <QRect> 19 #include <QRect>
20 20
21 class QPainter; 21 class QPainter;
22 class View; 22 class LayerGeometryProvider;
23 class ColourScaleLayer; 23 class ColourScaleLayer;
24 24
25 class LogColourScale 25 class LogColourScale
26 { 26 {
27 public: 27 public:
28 int getWidth(View *v, QPainter &paint); 28 int getWidth(LayerGeometryProvider *v, QPainter &paint);
29 29
30 void paintVertical 30 void paintVertical
31 (View *v, const ColourScaleLayer *layer, QPainter &paint, int x0, 31 (LayerGeometryProvider *v, const ColourScaleLayer *layer, QPainter &paint, int x0,
32 double minf, double maxf); 32 double minf, double maxf);
33 }; 33 };
34 34
35 #endif 35 #endif
36 36