aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/pref.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-29 16:57:43 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-02 12:51:31 -0800
commitf85883c707e9d6c021025dfe406c9acfb6441e57 (patch)
tree06312dea8132dd0595b360c923ddde9d5de3e736 /subsurface-core/pref.h
parent222ce62bceac4c7f95e7a0564f11b5789dc18d29 (diff)
downloadsubsurface-f85883c707e9d6c021025dfe406c9acfb6441e57.tar.gz
Create date and time formats preferences
Now we can actually change them in preferences instead of just deriving them from the language set. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/pref.h')
-rw-r--r--subsurface-core/pref.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/subsurface-core/pref.h b/subsurface-core/pref.h
index 84975aaaa..9f5f587e2 100644
--- a/subsurface-core/pref.h
+++ b/subsurface-core/pref.h
@@ -44,6 +44,11 @@ struct preferences {
const char *default_cylinder;
const char *cloud_base_url;
const char *cloud_git_url;
+ const char *time_format;
+ const char *date_format;
+ const char *date_format_short;
+ bool time_format_override;
+ bool date_format_override;
double font_size;
partial_pressure_graphs_t pp_graphs;
short mod;