aboutsummaryrefslogtreecommitdiffstats
path: root/pref.h
diff options
context:
space:
mode:
authorGravatar Gaetan Bisson <bisson@archlinux.org>2015-03-24 11:57:22 -1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-25 09:45:46 -0700
commit5bf23381e0dbf56aea19e646cf371d1d3ee80ada (patch)
treeea0ddcf495255334605a7c5bd5c45a14229bcad4 /pref.h
parent3ff73d0a6621b118b43358f420723eb7e50a9807 (diff)
downloadsubsurface-5bf23381e0dbf56aea19e646cf371d1d3ee80ada.tar.gz
Save more planner settings into prefs
This adds to the prefs struct the variables last_stop, verbatim_plan, display_runtime, display_duration, and display_transitions from the planner so their values are saved from one session to the next. The widgets for some of those settings had default values in plannerSettings.ui; remove them since the new code in subsurfacestartup.c takes care of initializing them. Signed-off-by: Gaetan Bisson <bisson@archlinux.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'pref.h')
-rw-r--r--pref.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pref.h b/pref.h
index c33b55438..fb01d28ef 100644
--- a/pref.h
+++ b/pref.h
@@ -73,6 +73,11 @@ struct preferences {
char *proxy_pass;
bool doo2breaks;
bool drop_stone_mode;
+ bool last_stop;
+ bool verbatim_plan;
+ bool display_runtime;
+ bool display_duration;
+ bool display_transitions;
int bottomsac;
int decosac;
int o2consumption; // ml per min