summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-02 23:22:07 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-03 20:44:37 -0800
commit5ba250bd48500c9f7aa206324272d40fd3064069 (patch)
treea2eed434b80d9de6f3edd2a6af41a497597b886a /display-gtk.h
parentaab67e2a5bb9c74fcc60af4ade0192d31263ebc7 (diff)
downloadsubsurface-5ba250bd48500c9f7aa206324272d40fd3064069.tar.gz
Use gradient factors in deco calculation
Usually dive computers show the ceiling in terms of the next deco stop - and those are in 3m increments. This commit also adds the ability to chose either the typical 3m increments or the smooth ceiling that the Bühlmann algorithm actually calculates. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h
index 74d86ef6d..0523dc0aa 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -41,6 +41,7 @@ struct preferences {
partial_pressure_graphs_t pp_graphs;
gboolean profile_red_ceiling;
gboolean profile_calc_ceiling;
+ gboolean calc_ceiling_3m_incr;
};
extern struct preferences prefs;