summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-03 21:31:22 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-03 21:41:35 -0800
commit9cd18c43aaaccaa8ba0fbdf8e5a23ad6c7bbeb73 (patch)
treea13e4deb45f159d30275f3d090beeb6981f9b333 /display-gtk.h
parent2c336032568cd13bec23fce2500bde551141c3e3 (diff)
downloadsubsurface-9cd18c43aaaccaa8ba0fbdf8e5a23ad6c7bbeb73.tar.gz
Make GF values configurable
There are a couple of issues with this commit: GtkEntry should emit the 'changed' signal when it is modified (so that changes in the preferences get applied right away) - but that doesn't appear to be working consistently. Also, this doesn't appear to affect the deco of any dives that I try it with. So my guess is something is wrong with the underlying deco algorithm. That's diappointing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h
index 0523dc0aa..629972434 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -42,6 +42,8 @@ struct preferences {
gboolean profile_red_ceiling;
gboolean profile_calc_ceiling;
gboolean calc_ceiling_3m_incr;
+ double gflow;
+ double gfhigh;
};
extern struct preferences prefs;