diff options
Diffstat (limited to 'continuouscolorscale.h')
-rw-r--r-- | continuouscolorscale.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/continuouscolorscale.h b/continuouscolorscale.h index 1ca2092..f734702 100644 --- a/continuouscolorscale.h +++ b/continuouscolorscale.h @@ -6,9 +6,16 @@ class ContinuousColorScale : public ColorScale { public: - ContinuousColorScale(); + ContinuousColorScale(std::initializer_list<QColor> colors); + + enum BuiltinContinuousColorScale { + HEATED_OBJECTS, + RED_GRAY_BLUE + }; QColor color(qreal t) const; + + static ContinuousColorScale builtin(enum BuiltinContinuousColorScale); }; #endif // CONTINUOUSCOLORSCALE_H |