summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-17 16:13:02 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-17 16:15:36 -0700
commitbfa37c3cac22949323bb6a5dfb23557638d20757 (patch)
tree52e35d78c4c0f3a52d2593291eab510dd0cd95f5 /display.h
parenta094b2b88a21a7161def15ad0a730f79a8c83f09 (diff)
downloadsubsurface-bfa37c3cac22949323bb6a5dfb23557638d20757.tar.gz
First step towards a context menu in the profile view
This is completely bogus as all it does is print out the corresponding time for the spot we right-clicked on the profile. But that at least shows that the infrastructure is working as intended... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display.h')
-rw-r--r--display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/display.h b/display.h
index c0163aeff..c76afbc02 100644
--- a/display.h
+++ b/display.h
@@ -50,6 +50,7 @@ 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 get_plot_details(struct graphics_context *gc, int time, char *buf, size_t bufsize);
+extern int x_to_time(double x);
struct options {
enum { PRETTY, TABLE, TWOPERPAGE } type;