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 /colormap.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 'colormap.h')
-rw-r--r-- | colormap.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,11 +31,11 @@ public: Orientation orientation() const { return m_orientation; } signals: - void colorScaleChanged(const ColorScale &scale) const; + void colorScaleChanged(const ColorScale *scale) const; void orientationChanged(Orientation orientation) const; public slots: - void setColorScale(const ColorScale &scale); + void setColorScale(const ColorScale *scale); protected: QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *); |