summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-09-18 18:52:20 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2018-09-18 19:06:04 -0400
commitdb385c2e3c67875cf8f6dc10ebe8a540aa2ce1ad (patch)
tree4b9a9d0349d8277c711e01b31474dfcc47346b72 /gtk2_ardour/option_editor.h
parente6915e01de2e2167c3384c6c8f2408f763971616 (diff)
new transport slave/master implementation, gui edition
Diffstat (limited to 'gtk2_ardour/option_editor.h')
-rw-r--r--gtk2_ardour/option_editor.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h
index 055ee9b8eb..132d260c05 100644
--- a/gtk2_ardour/option_editor.h
+++ b/gtk2_ardour/option_editor.h
@@ -558,6 +558,21 @@ private:
sigc::slot<bool, ARDOUR::gain_t> _set;
};
+class WidgetOption : public Option
+{
+ public:
+ WidgetOption (std::string const & i, std::string const & n, Gtk::Widget& w);
+
+ void add_to_page (OptionEditorPage*);
+ void parameter_changed (std::string const &) {}
+ void set_state_from_config () {}
+
+ Gtk::Widget& tip_widget() { return *_widget; }
+
+ private:
+ Gtk::Widget* _widget;
+};
+
class ClockOption : public Option
{
public: