diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-09-16 15:45:14 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-09-16 15:45:14 -0700 |
commit | 89fe2c723f10649d2d98a88b385bd4733e5acbc4 (patch) | |
tree | 5f005b1e30a8814d92ffc76986a34e341f210230 /dive.h | |
parent | ff0a601cc300f11a3e5a31236cb9a884ad82ceec (diff) | |
download | subsurface-89fe2c723f10649d2d98a88b385bd4733e5acbc4.tar.gz |
Show tank / nitrox / air consumption information in the info_frame
Even though we go down to an 8pt font the info_frame changes size when the
air info is added. I don't like this but want to see how Linus would like
this resolved before going overboard.
Minor tweaks to the formating (we don't need two decimals when printing
the liters of air consumed).
This patch does NOT remove the plot of the air information in the profile
graph. I think we want to remove that once we like the text where it is,
but I wanted to do one thing at a time.
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
@@ -207,6 +207,8 @@ extern void report_dives(void); extern struct dive *fixup_dive(struct dive *dive); extern struct dive *try_to_merge(struct dive *a, struct dive *b); +extern void update_air_info(char *buffer); + #define DIVE_ERROR_PARSE 1 #endif /* DIVE_H */ |