summaryrefslogtreecommitdiffstats
path: root/profile.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-06 18:58:18 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-06 20:30:22 -0700
commit867435442b8f6f4094d7075be2cbc697d1618c26 (patch)
treeccb0a5cd1be860a42feb562459931cdc9b3d35b8 /profile.h
parent55f31dc0114a2719c867a8c1210c704f657b646f (diff)
downloadsubsurface-867435442b8f6f4094d7075be2cbc697d1618c26.tar.gz
Plotting the Events done
There are subtle differences, the Cairo version looks prettier - but that's fixable. I did a small triangle and a exclamation mark on it. maybe a gradient would make a good difference there. this item has a ItemIgnoresTransformation tag, so scalling, rotating or zooming will not change it's size. The tooltips are not yet ported. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.h')
-rw-r--r--profile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/profile.h b/profile.h
index 8f58082d1..d22589c68 100644
--- a/profile.h
+++ b/profile.h
@@ -39,6 +39,11 @@ struct plot_data {
void calculate_max_limits(struct dive *dive, struct divecomputer *dc, struct graphics_context *gc);
struct plot_info *create_plot_info(struct dive *dive, struct divecomputer *dc, struct graphics_context *gc);
+struct ev_select {
+ char *ev_name;
+ bool plot_ev;
+};
+
/*
* When showing dive profiles, we scale things to the
* current dive. However, we don't scale past less than