X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fgraph.h;h=236b4ea0ca6996d41f4e5dfe2c7ec6cfcce19b15;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hp=3a12578eadf2fb7b0c38a241ab407e8ee8b1bb9c;hpb=45c8086f97097df36ba8cd0552f152be80f79b12;p=psensor.git diff --git a/src/graph.h b/src/graph.h index 3a12578..236b4ea 100644 --- a/src/graph.h +++ b/src/graph.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2011 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,9 +21,17 @@ #include -#include "psensor.h" -#include "cfg.h" +#include +#include -void graph_update(struct psensor **, GtkWidget *, struct config *config); +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