mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Pick GPS coordinates of dive location via map widget
I have some concerns about the way this is implemented - especially the use of gtk_grab_add to make the map widget work has me worried. But it seems to work and survived some test cases that I threw at it. The GtkButton with the Pixmap looks a little off on my screen, but this way it was easy to implement. Feel free to come up with a better design. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
075aba8f7d
commit
332d372b80
5 changed files with 136 additions and 24 deletions
2
dive.h
2
dive.h
|
|
@ -486,7 +486,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_gps_location(struct dive *, void (*callback)(float, float));
|
||||
|
||||
extern void show_yearly_stats(void);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue