summaryrefslogtreecommitdiffstats
path: root/profile.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-17 14:43:25 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-17 14:04:47 -0800
commit779c1b6738c4378be79a46b744da2c556380ca32 (patch)
tree699733e78e58c6c14cc12e2aa4ab30a6737a99db /profile.h
parent0787347691aec0521f1e3fa749415aae70bd4cd3 (diff)
downloadsubsurface-779c1b6738c4378be79a46b744da2c556380ca32.tar.gz
Create a version of create_graph_info that doesn't depend on GC.
This version of the create plot info is the same as before, with the difference that it doesn't depends on the gc. Also fixed a crash. The Pressure Index, Information and interpolated seems wrong, I'm getting only zeroes. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/profile.h b/profile.h
index daf402d52..94b32a34b 100644
--- a/profile.h
+++ b/profile.h
@@ -52,6 +52,7 @@ int get_cylinder_pressure_range(struct graphics_context *gc);
void compare_samples(struct plot_data *e1, struct plot_data *e2, char *buf, int bufsize, int sum);
struct plot_data *populate_plot_entries(struct dive *dive, struct divecomputer *dc, struct plot_info *pi);
struct plot_info *analyze_plot_info(struct plot_info *pi);
+void create_plot_info_new(struct dive *dive, struct divecomputer *dc, struct plot_info *pi);
struct ev_select {
char *ev_name;