diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-17 14:43:25 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-17 14:04:47 -0800 |
commit | 779c1b6738c4378be79a46b744da2c556380ca32 (patch) | |
tree | 699733e78e58c6c14cc12e2aa4ab30a6737a99db /profile.h | |
parent | 0787347691aec0521f1e3fa749415aae70bd4cd3 (diff) | |
download | subsurface-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |