diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-12-10 13:16:17 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-12-10 13:23:55 -0800 |
commit | febcbd6325e42b5b9a6478f7e7d726b98cb5e9bb (patch) | |
tree | 34209785d2cb165c94265508c15c98bcb57f8aaa /display-gtk.h | |
parent | 286020a2d16ce3e036b627ccf96fc6dd67dd57a5 (diff) | |
download | subsurface-febcbd6325e42b5b9a6478f7e7d726b98cb5e9bb.tar.gz |
Add the ability to edit the date/time of a dive
This can cause some fun unintended side effects - especially when the dive
is part of a trip and the new date/time moves this into a different trip.
Instead, trips get split and the overall result is consistent, but a bit
unexpected.
But since this is designed to help people right after a dive import in
case the clock on the dive computer was wrong, my guess is this won't ever
be a problem for actual users.
Fixes ticket 18
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r-- | display-gtk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h index 36895b7c8..b48c87eed 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -85,6 +85,8 @@ extern int process_ui_events(void); extern void update_progressbar(progressbar_t *progress, double value); extern void update_progressbar_text(progressbar_t *progress, const char *text); +extern GtkWidget *create_date_time_widget(struct tm *time, GtkWidget **cal, GtkWidget **h, GtkWidget **m); + extern GtkWidget *dive_profile_widget(void); extern GtkWidget *dive_info_frame(void); extern GtkWidget *extended_dive_info_widget(void); |