mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
6d7f26f4bf
commit
9006e3d102
4 changed files with 35 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue