comparison layer/ColourScaleLayer.h @ 978:64c2b3a4435a 3.0-integration

Merge from branch osx-retina
author Chris Cannam
date Fri, 26 Jun 2015 14:10:40 +0100
parents 4fe7a09be0fe
children c98a1fe7c7f5
comparison
equal deleted inserted replaced
977:f40ccbf228c2 978:64c2b3a4435a
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