GtkWindowClass window_class;
void (* newwindow) (VikWindow *vw);
void (* openwindow) (VikWindow *vw, GSList *filenames);
- void (* statusbarupdate) (VikWindow *vw, const gchar *message, vik_statusbar_type_t vs_type);
};
GType vik_window_get_type ();
// To call from main to start things off:
VikWindow *vik_window_new_window ();
+void vik_window_new_window_finish ( VikWindow *vw );
+
GtkWidget *vik_window_get_drawmode_button ( VikWindow *vw, VikViewportDrawMode mode );
gboolean vik_window_get_pan_move ( VikWindow *vw );
void vik_window_open_file ( VikWindow *vw, const gchar *filename, gboolean changefilename );
struct _VikViewport * vik_window_viewport(VikWindow *vw);
struct _VikLayersPanel * vik_window_layers_panel(VikWindow *vw);
struct _VikStatusbar * vik_window_get_statusbar(VikWindow *vw);
-// Only for use from background threads:
-void vik_window_signal_statusbar_update (VikWindow *vw, const gchar* message, vik_statusbar_type_t vs_type);
+const gchar *vik_window_get_filename(VikWindow *vw);
+
+void vik_window_statusbar_update (VikWindow *vw, const gchar* message, vik_statusbar_type_t vs_type);
void vik_window_set_redraw_trigger(struct _VikLayer *vl);
VikViewport *vvp;
gpointer *vtl; // VikTrwlayer
gboolean holding;
+ gboolean moving;
gboolean is_waypoint; // otherwise a track
GdkGC *gc;
int oldx, oldy;