summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-01 04:40:15 +0000
committerDavid Robillard <d@drobilla.net>2011-10-01 04:40:15 +0000
commit5757ab645cae1d844d6d457ab2dea4a12d21a4e7 (patch)
treea04498c8c006365d5d6f8ad7569dc7cbe4e878b8 /src/gui/PatchWindow.hpp
parentb60baed5cca3da9aeaba8bf4957cbf469a4b69c7 (diff)
downloadingen-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/PatchWindow.hpp')
-rw-r--r--src/gui/PatchWindow.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/PatchWindow.hpp b/src/gui/PatchWindow.hpp
index 4ba9d123..4766cb99 100644
--- a/src/gui/PatchWindow.hpp
+++ b/src/gui/PatchWindow.hpp
@@ -57,11 +57,12 @@ public:
const Glib::RefPtr<Gtk::Builder>& xml);
~PatchWindow();
- Gtk::TextView* doc_textview() { return _doc_textview; }
-
void set_patch_from_path(const Raul::Path& path, SharedPtr<PatchView> view);
void set_patch(SharedPtr<const PatchModel> pc, SharedPtr<PatchView> view);
+ void show_documentation(const std::string& doc, bool html);
+ void hide_documentation();
+
SharedPtr<const PatchModel> patch() const { return _patch; }
Gtk::MenuItem* menu_view_control_window() { return _menu_view_control_window; }
@@ -153,6 +154,7 @@ private:
BreadCrumbs* _breadcrumbs;
Gtk::Statusbar* _status_bar;
+ Gtk::Viewport* _doc_viewport;
Gtk::TextView* _doc_textview;
sigc::connection _entered_connection;