X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/50a14534a51f892500ee82f867e8ab2f85b936ae..e52d2bf31268501cb6c9dfecf0587002be3c6c02:/src/dialog.h?ds=sidebyside diff --git a/src/dialog.h b/src/dialog.h index 93aa6a98..2c1d93f1 100644 --- a/src/dialog.h +++ b/src/dialog.h @@ -22,9 +22,17 @@ #ifndef _VIKING_DIALOG_H #define _VIKING_DIALOG_H +#include +#include + +#include "coords.h" +#include "vikwaypoint.h" +#include "vikcoord.h" + /* most of this file is an architechtural flaw. */ #define a_dialog_info_msg(win,info) a_dialog_msg(win,GTK_MESSAGE_INFO,info,NULL) +#define a_dialog_warning_msg(win,info) a_dialog_msg(win,GTK_MESSAGE_WARNING,info,NULL) #define a_dialog_error_msg(win,info) a_dialog_msg(win,GTK_MESSAGE_ERROR,info,NULL) #define a_dialog_info_msg_extra(win,info,extra) a_dialog_msg(win,GTK_MESSAGE_INFO,info,extra) @@ -36,6 +44,8 @@ void a_dialog_msg ( GtkWindow *parent, gint type, const gchar *info, const gchar void a_dialog_response_accept ( GtkDialog *dialog ); +void a_dialog_about ( GtkWindow *parent ); + /* okay, everthing below here is an architechtural flaw. */ gboolean a_dialog_goto_latlon ( GtkWindow *parent, struct LatLon *ll, const struct LatLon *old ); gboolean a_dialog_goto_utm ( GtkWindow *parent, struct UTM *utm, const struct UTM *old ); @@ -46,7 +56,9 @@ gchar *a_dialog_new_track ( GtkWindow *parent, GHashTable *tracks ); gboolean a_dialog_overwrite ( GtkWindow *parent, const gchar *message, const gchar *extra ); gboolean a_dialog_custom_zoom ( GtkWindow *parent, gdouble *xmpp, gdouble *ympp ); +gboolean a_dialog_time_threshold ( GtkWindow *parent, gchar *title_text, gchar *label_text, guint *thr ); void a_dialog_choose_dir ( GtkWidget *entry ); +gboolean a_dialog_map_n_zoom(GtkWindow *parent, gchar *mapnames[], gint default_map, gchar *zoom_list[], gint default_zoom, gint *selected_map, gint *selected_zoom); #endif