summaryrefslogtreecommitdiffstats
path: root/profile-widget/diveprofileitem.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2016-09-13 10:59:47 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-09-17 13:42:46 -0700
commit1b57b6cc174409bb6e2cede77a804254cbeb5fb6 (patch)
treee00c25edf8cbcf93797de46aeede18cb252e01f1 /profile-widget/diveprofileitem.h
parent1cae1255d7ea882f062fd857b2097aed859d0401 (diff)
downloadsubsurface-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.h2
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 {