diff options
Diffstat (limited to 'display.h')
-rw-r--r-- | display.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -48,9 +48,10 @@ typedef enum { SC_SCREEN, SC_PRINT } scale_mode_t; extern void plot(struct graphics_context *gc, struct dive *dive, scale_mode_t scale); extern struct divecomputer *select_dc(struct divecomputer *main); 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 void attach_tooltip(int x, int y, int w, int h, const char *text, struct event *event); extern void get_plot_details(struct graphics_context *gc, int time, char *buf, size_t bufsize); extern int x_to_time(double x); +extern int x_abs(double x); struct options { enum { PRETTY, TABLE, TWOPERPAGE } type; |