diff options
Diffstat (limited to 'src/gui/PatchWindow.hpp')
-rw-r--r-- | src/gui/PatchWindow.hpp | 6 |
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; |