aboutsummaryrefslogtreecommitdiff
path: root/continuouscolorscale.h
diff options
context:
space:
mode:
Diffstat (limited to 'continuouscolorscale.h')
-rw-r--r--continuouscolorscale.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/continuouscolorscale.h b/continuouscolorscale.h
index f15abc6..0f8e4d4 100644
--- a/continuouscolorscale.h
+++ b/continuouscolorscale.h
@@ -7,14 +7,14 @@ class ContinuousColorScale
: public ColorScale
{
public:
- ContinuousColorScale(std::initializer_list<QColor> colors);
+ ContinuousColorScale(std::initializer_list<Color> colors);
enum BuiltinContinuousColorScale {
HeatedObjects,
Rainbow,
};
- QColor color(float t) const;
+ Color color(float t) const;
static ContinuousColorScale builtin(BuiltinContinuousColorScale);
static ContinuousColorScale *builtin(BuiltinContinuousColorScale, void *);