X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=display.h;h=5f99849b7b496a699c6c9431f042f5cb725287f8;hb=03eb488dd238bcec4b4758eab4559b3c40e6435c;hp=9cd401a893da34928212b797110a146fe46107a5;hpb=682135838ff313594c7f67fabd9be8f88a33883b;p=ext%2Fsubsurface.git diff --git a/display.h b/display.h index 9cd401a..5f99849 100644 --- a/display.h +++ b/display.h @@ -22,7 +22,10 @@ struct graphics_context { double topy, bottomy; }; -extern void plot(struct graphics_context *gc, int w, int h, struct dive *dive); -extern void set_source_rgb(struct graphics_context *gc, double r, double g, double b); +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