From db385c2e3c67875cf8f6dc10ebe8a540aa2ce1ad Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 18 Sep 2018 18:52:20 -0400 Subject: new transport slave/master implementation, gui edition --- gtk2_ardour/option_editor.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gtk2_ardour/option_editor.cc') diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index 97912eab4c..b685e78947 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -608,6 +608,20 @@ ClockOption::set_session (Session* s) /*--------------------------*/ +WidgetOption::WidgetOption (string const & i, string const & n, Gtk::Widget& w) + : Option (i, n) + , _widget (&w) +{ +} + +void +WidgetOption::add_to_page (OptionEditorPage* p) +{ + add_widget_to_page (p, _widget); +} + +/*--------------------------*/ + OptionEditorPage::OptionEditorPage () : table (1, 3) { -- cgit v1.2.3