From 25b0a846af1d4661d16c3de9784879ad44476d08 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 4 Feb 2014 17:34:16 -0200 Subject: Created a method to check if calculations should take place. Created a method to check if calculations should take place taking into consideration what changed on the model. if the model changes *everything*, them, all calculations should be done, but if just some of the columns of the model are changed, only those columns should trigger an visual update on the items. In theory this patch looks right, but something is wrong ( calculations are not being made. ), so I'll commit this any how, and fix on the next commit. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- profile.h | 1 + 1 file changed, 1 insertion(+) (limited to 'profile.h') diff --git a/profile.h b/profile.h index 94b32a34b..7270edad9 100644 --- a/profile.h +++ b/profile.h @@ -53,6 +53,7 @@ void compare_samples(struct plot_data *e1, struct plot_data *e2, char *buf, int 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); +void calculate_deco_information(struct dive *dive, struct divecomputer *dc, struct plot_info *pi, bool print_mode); struct ev_select { char *ev_name; -- cgit v1.2.3-70-g09d2