CCR option: display o2 sensor data

This patch creates the possibility of viewing the individual sensor
values when the po2 button on the profile toolbar is activated. This
follows exactly the procedure for optionally displaying the setpoint
values while viewing po2. A checkbox in the preferences panel determines
whether sensor information is shown. By default it is set to OFF. When
checked, and the po2 button is activated, sensor1 values are shown in
grey, sensor2 in blue and sensor3 in brown.

Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
willem ferguson 2015-01-20 20:13:53 +02:00 committed by Dirk Hohndel
parent 2923329e8e
commit a700be3207
10 changed files with 82 additions and 10 deletions

1
pref.h
View file

@ -44,6 +44,7 @@ struct preferences {
int animation_speed;
bool gf_low_at_maxdepth;
bool show_ccr_setpoint;
bool show_ccr_sensors;
short display_invalid_dives;
short unit_system;
struct units units;