mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Start populating the maintab Dive Info widget
Establish some useful helpers and use them when updating the values. One of the helpers (from statistics.c) puzzlingly doesn't link - so that's ifdefed out. Also had to re-arrange the settings reading code (it came too late) and to extract the expanding code of the top dive from the settings reading code (as it had no business being there to begin with). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1a8239a240
commit
b75a89aa86
7 changed files with 100 additions and 9 deletions
|
@ -31,3 +31,4 @@ extern char *get_time_string(int seconds, int maxdays);
|
|||
extern char *get_minutes(int seconds);
|
||||
extern void process_all_dives(struct dive *dive, struct dive **prev_dive);
|
||||
extern void get_selected_dives_text(char *buffer, int size);
|
||||
extern volume_t get_gas_used(struct dive *dive);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue