X-Git-Url: http://wpitchoune.net/gitweb/?p=psensor-pkg-debian.git;a=blobdiff_plain;f=src%2Fgraph.h;h=236b4ea0ca6996d41f4e5dfe2c7ec6cfcce19b15;hp=897ec7b3a5a37ed6f6b4d39d8ae0ad08a16086c9;hb=bd7036af56a4b61b2b473dccbeac5e26f78b57da;hpb=f055e7507526592d3a74c652f5f053701614c9c0 diff --git a/src/graph.h b/src/graph.h index 897ec7b..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,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