X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=common%2Fdiagnostics%2Fgraph.h;h=0d9ef3d6226c954a11b522a8caeec23a2da5e816;hb=11e9ee9363a33cee4f3433c83b1f5fd76b95b57e;hp=3f54c0a7c1b6f3ad9c18b9d84bade6b93192d4e1;hpb=77c5e19de35d9d3d9b470113e9f194ebe83b0f0b;p=casparcg diff --git a/common/diagnostics/graph.h b/common/diagnostics/graph.h index 3f54c0a7c..0d9ef3d62 100644 --- a/common/diagnostics/graph.h +++ b/common/diagnostics/graph.h @@ -52,11 +52,10 @@ struct color class graph { friend safe_ptr create_graph(const std::string& name); - friend safe_ptr create_graph(const printer& parent_printer); graph(const std::string& name); - graph(const printer& parent_printer); public: void update_value(const std::string& name, double value); + void update_text(const std::string& value); void set_value(const std::string& name, double value); void set_color(const std::string& name, color c); void add_tag(const std::string& name); @@ -67,7 +66,6 @@ private: }; safe_ptr create_graph(const std::string& name); -safe_ptr create_graph(const printer& parent_printer); //namespace v2 //{