Toggle showing average depth

Add additional check box in "preferences->graph" section that allows
users to hide average depth on dive profile.
By default this option is checked to show average depth.

Fixes #475

Signed-off-by: Lakshman Anumolu <acrlakshman@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lakshman 2014-03-27 13:38:07 -05:00 committed by Dirk Hohndel
parent df7d7d4981
commit 7696fbf9cd
5 changed files with 21 additions and 1 deletions

1
pref.h
View file

@ -39,6 +39,7 @@ struct preferences {
struct units units;
short show_sac;
bool display_unused_tanks;
bool show_average_depth;
bool zoomed_plot;
bool text_label_with_units;
};