diff options
author | David Robillard <d@drobilla.net> | 2011-10-01 04:40:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-01 04:40:15 +0000 |
commit | 5757ab645cae1d844d6d457ab2dea4a12d21a4e7 (patch) | |
tree | a04498c8c006365d5d6f8ad7569dc7cbe4e878b8 /src/gui/NodeModule.cpp | |
parent | b60baed5cca3da9aeaba8bf4957cbf469a4b69c7 (diff) | |
download | ingen-5757ab645cae1d844d6d457ab2dea4a12d21a4e7.tar.gz ingen-5757ab645cae1d844d6d457ab2dea4a12d21a4e7.tar.bz2 ingen-5757ab645cae1d844d6d457ab2dea4a12d21a4e7.zip |
Support inline display of HTML LV2 documentation via WebKit.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3515 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r-- | src/gui/NodeModule.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 8f66b3bd..20eebdd1 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -415,14 +415,14 @@ NodeModule::set_selected(bool b) PatchWindow* win = app.window_factory()->parent_patch_window(node()); if (win) { std::string doc; + bool html = false; if (node()->plugin_model()) { - doc = node()->plugin_model()->documentation(); + doc = node()->plugin_model()->documentation(&html); } if (!doc.empty()) { - win->doc_textview()->get_buffer()->set_text(doc); - win->doc_textview()->show(); + win->show_documentation(doc, html); } else { - win->doc_textview()->hide(); + win->hide_documentation(); } } } |