]> git.tdb.fi Git - ext/subsurface.git/blob - divelist.h
Add GtkTreeViewColumn information to 'struct DiveList'
[ext/subsurface.git] / divelist.h
1 #ifndef DIVELIST_H
2 #define DIVELIST_H
3
4 #include <gtk/gtk.h>
5
6 struct DiveList {
7         GtkWidget    *tree_view;
8         GtkWidget    *container_widget;
9         GtkListStore *model;
10         GtkTreeViewColumn *date, *depth, *duration;
11 };
12
13 extern int selected_dive;
14 #define current_dive (get_dive(selected_dive))
15
16 extern struct DiveList dive_list_create(void);
17 extern void dive_list_update_dives(struct DiveList);
18
19 #endif