summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-08 19:02:11 +0000
committerDavid Robillard <d@drobilla.net>2013-01-08 19:02:11 +0000
commit19b6f2d1c1e8ddcc52b45b4a2c17d4f0317ceabc (patch)
tree72c29bc1ec7f8937c11de859d99f0b50e4cb3386 /src/gui/GraphWindow.hpp
parente6996e3794a0cebe3d196759c98eaa6103bd559c (diff)
downloadingen-19b6f2d1c1e8ddcc52b45b4a2c17d4f0317ceabc.tar.gz
ingen-19b6f2d1c1e8ddcc52b45b4a2c17d4f0317ceabc.tar.bz2
ingen-19b6f2d1c1e8ddcc52b45b4a2c17d4f0317ceabc.zip
Re-enable node documentation.
Separate setting documentation from showing documentation pane, and make the latter a user option. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4909 a436a847-0d15-0410-975c-d299462d15a1
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,