mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Implement Close menu option that allows closing the data file
This requires some helper routines that allow us to clear out all the widgets. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
78c5aa9f07
commit
a8fd77865c
5 changed files with 83 additions and 2 deletions
2
dive.h
2
dive.h
|
|
@ -390,8 +390,10 @@ extern xmlDoc *test_xslt_transforms(xmlDoc *doc);
|
|||
extern void show_dive_info(struct dive *);
|
||||
|
||||
extern void show_dive_equipment(struct dive *, int w_idx);
|
||||
extern void clear_equipment_widgets(void);
|
||||
|
||||
extern void show_dive_stats(struct dive *);
|
||||
extern void clear_stats_widgets(void);
|
||||
|
||||
extern void update_dive(struct dive *new_dive);
|
||||
extern void save_dives(const char *filename);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue