comparison layer/ColourScaleLayer.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 c98a1fe7c7f5
comparison
equal deleted inserted replaced
976:f2c63ec85901 1045:f535f6e5dbb0
17 #define COLOUR_SCALE_LAYER_H 17 #define COLOUR_SCALE_LAYER_H
18 18
19 #include <QString> 19 #include <QString>
20 #include <QColor> 20 #include <QColor>
21 21
22 class LayerGeometryProvider;
23
22 class ColourScaleLayer 24 class ColourScaleLayer
23 { 25 {
24 public: 26 public:
25 virtual QString getScaleUnits() const = 0; 27 virtual QString getScaleUnits() const = 0;
26 virtual QColor getColourForValue(View *v, double value) const = 0; 28 virtual QColor getColourForValue(LayerGeometryProvider *v, double value) const = 0;
27 }; 29 };
28 30
29 #endif 31 #endif
30 32