X-Git-Url: http://wpitchoune.net/gitweb/?p=psensor-pkg-debian.git;a=blobdiff_plain;f=src%2Fgraph.h;h=7dae2c1cfb5b7f1b2c2de0dea0333b356d2e906c;hp=897ec7b3a5a37ed6f6b4d39d8ae0ad08a16086c9;hb=48da1ac5531838d157762882ee455cec4da05728;hpb=f055e7507526592d3a74c652f5f053701614c9c0 diff --git a/src/graph.h b/src/graph.h index 897ec7b..7dae2c1 100644 --- a/src/graph.h +++ b/src/graph.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2012 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,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