mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Dive list: move trip selection / deselection logic to divelist.c
This is core logic, not UI code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
032ea24191
commit
dbb86374e0
3 changed files with 24 additions and 17 deletions
|
@ -30,6 +30,8 @@ extern struct dive *merge_two_dives(struct dive *a, struct dive *b);
|
|||
extern bool consecutive_selected();
|
||||
extern void select_dive(int idx);
|
||||
extern void deselect_dive(int idx);
|
||||
extern void select_dives_in_trip(struct dive_trip *trip);
|
||||
extern void deselect_dives_in_trip(struct dive_trip *trip);
|
||||
extern void find_new_trip_start_time(dive_trip_t *trip);
|
||||
extern struct dive *first_selected_dive();
|
||||
extern struct dive *last_selected_dive();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue