summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphWindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/GraphWindow.hpp')
-rw-r--r--src/gui/GraphWindow.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/GraphWindow.hpp b/src/gui/GraphWindow.hpp
index 794619b8..a45177ce 100644
--- a/src/gui/GraphWindow.hpp
+++ b/src/gui/GraphWindow.hpp
@@ -51,12 +51,10 @@ public:
SharedPtr<const Client::GraphModel> graph() const { return _box->graph(); }
GraphBox* box() const { return _box; }
- void show_documentation(const std::string& doc, bool html) {
- _box->show_documentation(doc, html);
- }
+ bool documentation_is_visible() { return _box->documentation_is_visible(); }
- void hide_documentation() {
- _box->hide_documentation();
+ void set_documentation(const std::string& doc, bool html) {
+ _box->set_documentation(doc, html);
}
void show_port_status(const Client::PortModel* model,