X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fgraph.h;h=236b4ea0ca6996d41f4e5dfe2c7ec6cfcce19b15;hb=a2bce14963ee379e9f5b5e745304129b651e7352;hp=3827a356319e18414aef317861ab9e19019ae4a9;hpb=7e5d6b8c9e50f45b92357643c327a5ae5ad5ef4d;p=psensor.git diff --git a/src/graph.h b/src/graph.h index 3827a35..236b4ea 100644 --- a/src/graph.h +++ b/src/graph.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2012 jeanfi@gmail.com + * Copyright (C) 2010-2016 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -21,12 +21,17 @@ #include -#include "psensor.h" -#include "cfg.h" +#include +#include -void graph_update(struct psensor **, - GtkWidget *, +extern bool is_smooth_curves_enabled; + +void graph_update(struct psensor **sensors, + GtkWidget *w_graph, struct config *config, GtkWidget *window); +/* Compute the number of measures which must be kept. */ +int compute_values_max_length(struct config *); + #endif