X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=display.h;h=5f99849b7b496a699c6c9431f042f5cb725287f8;hb=03eb488dd238bcec4b4758eab4559b3c40e6435c;hp=bc97119ff71f20040f40b2b9a71e68ab4312fb02;hpb=a0096f3a6b2f8723b9f020ac53b22c432c5a61c7;p=ext%2Fsubsurface.git diff --git a/display.h b/display.h index bc97119..5f99849 100644 --- a/display.h +++ b/display.h @@ -1,20 +1,8 @@ #ifndef DISPLAY_H #define DISPLAY_H -#include -#include #include -extern GtkWidget *main_window; - -extern void import_dialog(GtkWidget *, gpointer); -extern void report_error(GError* error); - -extern GtkWidget *dive_profile_widget(void); -extern GtkWidget *dive_info_frame(void); -extern GtkWidget *extended_dive_info_widget(void); -extern GtkWidget *equipment_widget(void); - extern void repaint_dive(void); extern void do_print(void); @@ -34,6 +22,10 @@ struct graphics_context { double topy, bottomy; }; -extern void plot(struct graphics_context *gc, int w, int h, struct dive *dive); +extern void plot(struct graphics_context *gc, cairo_rectangle_int_t *drawing_area, struct dive *dive); +extern void init_profile_background(struct graphics_context *gc); +extern void attach_tooltip(int x, int y, int w, int h, const char *text); + +extern char zoomed_plot; #endif