mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 22:46:16 +00:00
We will need the column information in order to update the naming when the units change. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
19 lines
391 B
C
19 lines
391 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;
|
|
};
|
|
|
|
extern int selected_dive;
|
|
#define current_dive (get_dive(selected_dive))
|
|
|
|
extern struct DiveList dive_list_create(void);
|
|
extern void dive_list_update_dives(struct DiveList);
|
|
|
|
#endif
|