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=5c1e07fec97e34a94331b6b47e25c98f2b2e4cce;hpb=4c50d430bea4b8462b0ae7ab70baf3f538f87718 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