aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/graphicsview-common.cpp
diff options
context:
space:
mode:
authorGravatar Willem Ferguson <willemferguson@zoology.up.ac.za>2015-01-05 09:20:26 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-05 09:18:06 -0800
commit0de3bc84523778ad74a305a5f9e85645c90e02cf (patch)
treefcef310e491b9bb8de14c88ca756c21eaaccf25c /qt-ui/graphicsview-common.cpp
parent27bfbee4e8c3644dedea61f67338dcb2b83ffbed (diff)
downloadsubsurface-0de3bc84523778ad74a305a5f9e85645c90e02cf.tar.gz
Display CCR setpoint values on the po2 graph
When a CCR dive is viewed and the toolbar button for PO2 is activated, both the PO2 (green line) and the O2 setpoint (red line) are shown. This allows evaluation of the PO2 in the CCR loop with respect to the pre-configured O2 setpoint. The setpoint graph can be disabled from the Preferences/Graphs tab by checking the appropriate checkbox. Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/graphicsview-common.cpp')
-rw-r--r--qt-ui/graphicsview-common.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/graphicsview-common.cpp b/qt-ui/graphicsview-common.cpp
index 4beab9d3a..4402a23bf 100644
--- a/qt-ui/graphicsview-common.cpp
+++ b/qt-ui/graphicsview-common.cpp
@@ -27,6 +27,7 @@ void fill_profile_color()
profile_color[PN2_ALERT] = COLOR(RED1, BLACK1_LOW_TRANS, RED1);
profile_color[PHE] = COLOR(PEANUT, BLACK1_LOW_TRANS, PEANUT);
profile_color[PHE_ALERT] = COLOR(RED1, BLACK1_LOW_TRANS, RED1);
+ profile_color[O2SETPOINT] = COLOR(RED1, BLACK1_LOW_TRANS, RED1);
profile_color[PP_LINES] = COLOR(BLACK1_HIGH_TRANS, BLACK1_LOW_TRANS, BLACK1_HIGH_TRANS);
profile_color[TEXT_BACKGROUND] = COLOR(CONCRETE1_LOWER_TRANS, WHITE1, CONCRETE1_LOWER_TRANS);