aboutsummaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-01-15 22:45:18 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-15 17:41:57 -0800
commite9953fa5e6985045c599eec6d63572ee7bb458d7 (patch)
tree03d31f275c479b2663fb5f0ffcf29ceba17ad0c7 /dive.h
parent3fb80bcaeb5e3d1d5e447ea29e6bcb6ad619647a (diff)
downloadsubsurface-e9953fa5e6985045c599eec6d63572ee7bb458d7.tar.gz
Show single dives in map.
This adds a "Show in map" entry in the dive list context menu. It will zoom to the dive location if it exists, otherwise the full map will be displayed. I've also switched map tiles from OpenStreetMap to Google Maps just to show off that we can. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 08d3aae8d..1cb0613ee 100644
--- a/dive.h
+++ b/dive.h
@@ -500,6 +500,7 @@ extern void show_dive_stats(struct dive *);
extern void clear_stats_widgets(void);
extern void show_gps_locations(void);
+extern void show_gps_location(struct dive *);
extern void show_yearly_stats(void);