diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-11-02 09:10:57 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-11-02 12:27:12 -0700 |
commit | 619ab9e828d4db7b0c4089018b09892c9d04ece9 (patch) | |
tree | 7f4a4c28cc9a6ea635cee24366ac01917dacfb2c /dive.h | |
parent | 485b02937d8ca1f9a9043c89e74a3d2f15d6426b (diff) | |
download | subsurface-619ab9e828d4db7b0c4089018b09892c9d04ece9.tar.gz |
Add Info & Stats page to the notebook
This provides the relevant information for the currently selected dive
plus a bunch of statistics over all dives in the dive_table.
The visual design has lots of room for improvement
- right now the different fields change size
- it might be nice to have a more modern look for the entries
- the O2/He field is odd - for most divers the He value will
always be 0, so maybe we should only show He if there's at least one
dive that uses He? Also, we simply do a comma separated list of gases
for all the tanks used
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -259,6 +259,8 @@ extern void flush_dive_info_changes(struct dive *); extern void show_dive_equipment(struct dive *); extern void flush_dive_equipment_changes(struct dive *); +extern void show_dive_stats(struct dive *); + extern void update_dive(struct dive *new_dive); extern void save_dives(const char *filename); |