X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor-pkg-ubuntu.git;a=blobdiff_plain;f=src%2Fgraph.h;h=7dae2c1cfb5b7f1b2c2de0dea0333b356d2e906c;hp=e4966da8d043f06158d848b81af383348afb111f;hb=9490f614e45481667b812c93497eb08c72921894;hpb=2e68c12dc10ca8c06b03aad6b4e44144a9134cd5 diff --git a/src/graph.h b/src/graph.h index e4966da..7dae2c1 100644 --- a/src/graph.h +++ b/src/graph.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2013 jeanfi@gmail.com + * Copyright (C) 2010-2014 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 + +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