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