aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-05-08 09:50:00 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2021-05-08 13:40:24 +0200
commita7002f4089e76efc0667d22fc10f44ada35ec1bd (patch)
tree2bc1254e09bb69619951dda3356c21c8cc90ce92 /core
parent8b0db14f64c4f1f3e3438b35fcfcd94994459283 (diff)
downloadsubsurface-a7002f4089e76efc0667d22fc10f44ada35ec1bd.tar.gz
profile: remove DiveAmbPressureItem
This was replaced by the tissue map in 893bea700c98. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r--core/color.cpp3
-rw-r--r--core/color.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/core/color.cpp b/core/color.cpp
index 35d0423a2..03e1b6806 100644
--- a/core/color.cpp
+++ b/core/color.cpp
@@ -65,8 +65,7 @@ static QMap<color_index_t, std::array<QColor, 2>> profile_color = {
{ CALC_CEILING_SHALLOW, {{ FUNGREEN1_HIGH_TRANS, BLACK1_HIGH_TRANS }} },
{ CALC_CEILING_DEEP, {{ APPLE1_HIGH_TRANS, BLACK1_HIGH_TRANS }} },
{ TISSUE_PERCENTAGE, {{ GOVERNORBAY2, BLACK1_LOW_TRANS }} },
- { GF_LINE, {{ BLACK1, BLACK1_LOW_TRANS }} },
- { AMB_PRESSURE_LINE, {{ TUNDORA1_MED_TRANS, BLACK1_LOW_TRANS }} }
+ { GF_LINE, {{ BLACK1, BLACK1_LOW_TRANS }} }
};
QColor getColor(const color_index_t i, bool isGrayscale)
diff --git a/core/color.h b/core/color.h
index 12dcb1497..21f2bfff0 100644
--- a/core/color.h
+++ b/core/color.h
@@ -135,8 +135,7 @@ typedef enum {
CALC_CEILING_SHALLOW,
CALC_CEILING_DEEP,
TISSUE_PERCENTAGE,
- GF_LINE,
- AMB_PRESSURE_LINE
+ GF_LINE
} color_index_t;
QColor getColor(const color_index_t i, bool isGrayscale = false);