From 0de3bc84523778ad74a305a5f9e85645c90e02cf Mon Sep 17 00:00:00 2001 From: Willem Ferguson Date: Mon, 5 Jan 2015 09:20:26 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/graphicsview-common.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/graphicsview-common.cpp') 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); -- cgit v1.2.3-70-g09d2