X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=divelist.h;h=e0ab1137cc105627b681a28df57f62a4eb71581d;hb=dfacb5e124125e0e864509459d9ffef73495a3cd;hp=da3bfc96bc02d0996143eb526399c70f20431fa7;hpb=378ac0d44a7867a01cc8a23c05243cea53bab5de;p=ext%2Fsubsurface.git diff --git a/divelist.h b/divelist.h index da3bfc9..e0ab113 100644 --- a/divelist.h +++ b/divelist.h @@ -7,13 +7,13 @@ struct DiveList { GtkWidget *tree_view; GtkWidget *container_widget; GtkListStore *model; - GtkTreeViewColumn *date, *depth, *duration; + GtkTreeViewColumn *date, *depth, *duration, *location; + GtkTreeViewColumn *temperature, *nitrox, *sac; }; -extern int selected_dive; -#define current_dive (get_dive(selected_dive)) - +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