]> git.tdb.fi Git - ext/subsurface.git/blobdiff - display.h
Fix profile and average depth for freedives
[ext/subsurface.git] / display.h
index 9cd401a893da34928212b797110a146fe46107a5..4e1511656ad5d20b38948b8819a5ad25aefe5ee0 100644 (file)
--- a/display.h
+++ b/display.h
@@ -22,7 +22,15 @@ 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);
+
+struct options {
+       enum { PRETTY, TABLE } type;
+       gboolean print_profiles;
+};
+
+extern char zoomed_plot;
 
 #endif