aboutsummaryrefslogtreecommitdiff
path: root/shell/loadgraph.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-07-26 17:11:31 -0500
committerLeandro Pereira <leandro@hardinfo.org>2017-07-30 10:16:42 -0700
commitf3a0cef9d367b1bff48b70cd7524cb1d97709d68 (patch)
tree7eb3a17243464ce11ddc76b21d454ddd11f4c7af /shell/loadgraph.c
parent3db1caf8c29974e5aa46312084fe1585732cf236 (diff)
gtk3: loadgraph/uber-graph: support multiple lines on the graph
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'shell/loadgraph.c')
-rwxr-xr-xshell/loadgraph.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/shell/loadgraph.c b/shell/loadgraph.c
index 581203f1..6dd1c3c8 100755
--- a/shell/loadgraph.c
+++ b/shell/loadgraph.c
@@ -352,7 +352,14 @@ static void _draw(LoadGraph * lg)
gtk_widget_queue_draw(lg->area);
}
-void load_graph_update(LoadGraph * lg, gdouble v)
+void load_graph_update_ex(LoadGraph *lg, guint line, gdouble value)
+{
+ /* not implemented */
+ if (line == 0)
+ load_graph_update(lg, value);
+}
+
+void load_graph_update(LoadGraph *lg, gdouble v)
{
gint i;
gint value = (gint)v;