diff options
author | willemferguson <willemferguson@zoology.up.ac.za> | 2019-11-29 07:08:14 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-03 20:37:57 -0800 |
commit | 9006e3d1027279621af5f10f25c5c2c4bf2f5b9c (patch) | |
tree | c493695d391efb556f43e9251eb17db0e9e16a5e /core/save-git.c | |
parent | 6d7f26f4bf794c0faa79370dd788d90391542d30 (diff) | |
download | subsurface-9006e3d1027279621af5f10f25c5c2c4bf2f5b9c.tar.gz |
Desktop: add additional star widgets to Information tab
Provide file I/O for those star widgets that are enabled. The values of the
widgets can be stored to and read from either xml or git.
Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/save-git.c')
-rw-r--r-- | core/save-git.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/save-git.c b/core/save-git.c index 9e14784fe..8f27c8b0b 100644 --- a/core/save-git.c +++ b/core/save-git.c @@ -433,6 +433,10 @@ static void create_dive_buffer(struct dive *dive, struct membuffer *b) put_format(b, "duration %u:%02u min\n", FRACTION(dive->dc.duration.seconds, 60)); SAVE("rating", rating); SAVE("visibility", visibility); + SAVE("wavesize", wavesize); + SAVE("current", current); + SAVE("surge", surge); + SAVE("chill", chill); if (surface_pressure.mbar) SAVE("airpressure", surface_pressure.mbar); cond_put_format(dive->notrip, b, "notrip\n"); |