diff options
author | Robert C. Helling <helling@atdotde.de> | 2016-09-13 10:59:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-09-17 13:42:46 -0700 |
commit | 1b57b6cc174409bb6e2cede77a804254cbeb5fb6 (patch) | |
tree | e00c25edf8cbcf93797de46aeede18cb252e01f1 /profile-widget/diveprofileitem.h | |
parent | 1cae1255d7ea882f062fd857b2097aed859d0401 (diff) | |
download | subsurface-1b57b6cc174409bb6e2cede77a804254cbeb5fb6.tar.gz |
Separate method for heatmap color scaling
I separated out the color scaling and slightly simplified the expressions.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/diveprofileitem.h')
-rw-r--r-- | profile-widget/diveprofileitem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/profile-widget/diveprofileitem.h b/profile-widget/diveprofileitem.h index 05c7eb7d6..6e6b47b3a 100644 --- a/profile-widget/diveprofileitem.h +++ b/profile-widget/diveprofileitem.h @@ -133,6 +133,8 @@ public: private: QString visibilityKey; int tissueIndex; + QColor ColorScale(double value); + }; class DiveAmbPressureItem : public AbstractProfilePolygonItem { |