8 extern GtkWidget *main_window;
10 extern void import_dialog(GtkWidget *, gpointer);
11 extern void report_error(GError* error);
13 extern GtkWidget *dive_profile_widget(void);
14 extern GtkWidget *dive_info_frame(void);
15 extern GtkWidget *extended_dive_info_widget(void);
16 extern GtkWidget *equipment_widget(void);
18 extern void repaint_dive(void);
19 extern void do_print(void);
22 * Cairo scaling really is horribly horribly mis-designed.
24 * Which is sad, because I really like Cairo otherwise. But
25 * the fact that the line width is scaled with the same scale
26 * as the coordinate system is a f*&%ing disaster. So we
27 * can't use it, and instead have this butt-ugly wrapper thing..
29 struct graphics_context {
37 extern void plot(struct graphics_context *gc, int w, int h, struct dive *dive);