mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Sure, it's visible elsewhere, but this way you can search and sort for it, and see several entries at once. So again, having it visible in the dive list is a good thing. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
19 lines
465 B
C
19 lines
465 B
C
#ifndef DIVELIST_H
|
|
#define DIVELIST_H
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
struct DiveList {
|
|
GtkWidget *tree_view;
|
|
GtkWidget *container_widget;
|
|
GtkListStore *model;
|
|
GtkTreeViewColumn *date, *depth, *duration, *location;
|
|
GtkTreeViewColumn *temperature, *nitrox, *sac;
|
|
};
|
|
|
|
extern struct DiveList dive_list;
|
|
extern struct DiveList dive_list_create(void);
|
|
extern void dive_list_update_dives(struct DiveList);
|
|
extern void update_dive_list_units(struct DiveList *);
|
|
|
|
#endif
|