X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=display.h;h=c441a7dd2410c5401e083a686fb1a5aea495b6de;hb=b72ade0e78825dd97add4c7607c574df351abed0;hp=9cd401a893da34928212b797110a146fe46107a5;hpb=d7e35c512c4a4d6691c7c1312691c17cce4c684e;p=ext%2Fsubsurface.git diff --git a/display.h b/display.h index 9cd401a..c441a7d 100644 --- a/display.h +++ b/display.h @@ -22,7 +22,7 @@ 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 set_source_rgb(struct graphics_context *gc, double r, double g, double b); #endif