comparison layer/ColourScaleLayer.h @ 997:296ccd36f626 tony-2.0-integration

Merge through to branch for Tony 2.0
author Chris Cannam
date Thu, 20 Aug 2015 14:54:21 +0100
parents 4fe7a09be0fe
children c98a1fe7c7f5
comparison
equal deleted inserted replaced
943:788b7623bfca 997:296ccd36f626
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