mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Adding trip based statistics
This adds trip based statistics to the Yearly Statistics view. Signed-off-by: Miika Turkia <miika.turkia@nixu.fi> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
66cdb3689a
commit
ce525bd285
3 changed files with 47 additions and 3 deletions
|
@ -31,10 +31,13 @@ typedef struct {
|
|||
unsigned int selection_size;
|
||||
unsigned int total_sac_time;
|
||||
bool is_year;
|
||||
bool is_trip;
|
||||
char *location;
|
||||
} stats_t;
|
||||
extern stats_t stats_selection;
|
||||
extern stats_t *stats_yearly;
|
||||
extern stats_t *stats_monthly;
|
||||
extern stats_t *stats_by_trip;
|
||||
|
||||
extern char *get_time_string(int seconds, int maxdays);
|
||||
extern char *get_minutes(int seconds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue