Mercurial > hg > svgui
comparison layer/ColourScaleLayer.h @ 918:4fe7a09be0fe osx-retina
Many fixes for the previous stuff
author | Chris Cannam |
---|---|
date | Tue, 17 Mar 2015 16:56:03 +0000 |
parents | b66fb15de477 |
children | c98a1fe7c7f5 |
comparison
equal
deleted
inserted
replaced
917:77a1d42353ce | 918:4fe7a09be0fe |
---|---|
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 |