diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-03-02 15:47:24 -0300 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-03-02 15:47:24 -0300 |
commit | 3ce49858c6859fccc2e4d35839c34685348790d1 (patch) | |
tree | 9919729ae2d094ab3bed9fb45184c027713d9127 /continuouscolorscale.h | |
parent | 00efaedf4e328604598975a07a497d1ce769bb19 (diff) |
Improvements related to ColorScale and screenshots.
* ColorScale: now a pointer whenever needed. main() takes care of
updating extents
* New class DivergentColorScale: works specifically for divergent
scales, always has 3 colors as input: negative values, 0, positive
values
* ManipulationHandler: ProjectionHistory no longer needed
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 |