X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor-pkg-ubuntu.git;a=blobdiff_plain;f=src%2Fgraph.h;h=7dae2c1cfb5b7f1b2c2de0dea0333b356d2e906c;hp=88d4e0e742086dc9f646436263547bd3d2ac2671;hb=9490f614e45481667b812c93497eb08c72921894;hpb=aa433d8260471f960805ed2aafe39c4093c1d51c diff --git a/src/graph.h b/src/graph.h index 88d4e0e..7dae2c1 100644 --- a/src/graph.h +++ b/src/graph.h @@ -21,12 +21,17 @@ #include -#include "psensor.h" -#include "cfg.h" +#include +#include + +extern bool is_smooth_curves_enabled; void graph_update(struct psensor **sensors, - GtkWidget * w_graph, + GtkWidget *w_graph, struct config *config, - GtkWidget * window); + GtkWidget *window); + +/* Compute the number of measures which must be kept. */ +int compute_values_max_length(struct config *); #endif