summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-17 18:07:59 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-17 20:04:25 -0700
commit8a5792d473bb30a6f5cbfd2168c4427c16436031 (patch)
tree58ec7fcb24aec27de5c7b4d2511478ed6550c1b1 /display-gtk.h
parentbfa37c3cac22949323bb6a5dfb23557638d20757 (diff)
downloadsubsurface-8a5792d473bb30a6f5cbfd2168c4427c16436031.tar.gz
Manually add gas changes to a dive
Create a little widget that lists all the gases / tanks we know about and allow the user to pick one of them. Turns out that add_event only added events at the end of the list - but we treat that list as chronologically sorted. So I fixed that little mis-feature as well. This does raise the question whether we need the inverse operation (removing a gas change). And if there are other things that we should be able to manually edit, now that we have the infrastructure for this neat little context menu... See #60 -- this doesn't address all of the issues mentioned there, but at least deals with the 'headline' of the feature request... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/display-gtk.h b/display-gtk.h
index fb7eaf254..498fceda5 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -61,7 +61,7 @@ extern GtkWidget *extended_dive_info_widget(void);
extern GtkWidget *equipment_widget(int w_idx);
extern GtkWidget *single_stats_widget(void);
extern GtkWidget *total_stats_widget(void);
-
+extern int select_cylinder(struct dive *dive, int when);
extern GtkWidget *dive_list_create(void);
extern void dive_list_destroy(void);
extern void info_widget_destroy(void);