diff options
Diffstat (limited to 'continuouscolorscale.h')
-rw-r--r-- | continuouscolorscale.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/continuouscolorscale.h b/continuouscolorscale.h index fee17ed..f15abc6 100644 --- a/continuouscolorscale.h +++ b/continuouscolorscale.h @@ -11,13 +11,13 @@ public: enum BuiltinContinuousColorScale { HeatedObjects, - RedGrayBlue, Rainbow, }; - QColor color(qreal t) const; + QColor color(float t) const; - static ContinuousColorScale builtin(enum BuiltinContinuousColorScale); + static ContinuousColorScale builtin(BuiltinContinuousColorScale); + static ContinuousColorScale *builtin(BuiltinContinuousColorScale, void *); }; #endif // CONTINUOUSCOLORSCALE_H |