diff options
author | Robin Gareus <robin@gareus.org> | 2013-05-19 02:28:36 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-05-19 02:28:36 +0200 |
commit | 1acf8bdc674ac0ebfd5fc39885c7fe9e70840960 (patch) | |
tree | 6d17b29e7177a3a38be2b43eedf60ae81173b5c1 /gtk2_ardour/processor_box.h | |
parent | 126d592e8a2be72a1f7340ed70400e6a1d1e722b (diff) |
Restore 'Edit with basic controls' plugin UI functionality.
Regression was introduced in 40944574c
Compared to before 40944574c it is no longer possible to have
both custom and basic open at the same time.
On the upside window stacking and raise-to-top works properly.
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r-- | gtk2_ardour/processor_box.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index c279ffa917..7d80abdc68 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -88,6 +88,7 @@ class ProcessorWindowProxy : public WM::ProxyBase ARDOUR::SessionHandlePtr* session_handle(); void toggle(); + void set_custom_ui_mode(bool use_custom) { want_custom = use_custom; } bool marked; @@ -95,6 +96,7 @@ class ProcessorWindowProxy : public WM::ProxyBase ProcessorBox* _processor_box; boost::weak_ptr<ARDOUR::Processor> _processor; bool is_custom; + bool want_custom; }; class ProcessorEntry : public Gtkmm2ext::DnDVBoxChild, public sigc::trackable @@ -257,7 +259,7 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD Gtk::Window* get_processor_ui (boost::shared_ptr<ARDOUR::Processor>) const; /* a WindowProxy object can use this */ - Gtk::Window* get_editor_window (boost::shared_ptr<ARDOUR::Processor>); + Gtk::Window* get_editor_window (boost::shared_ptr<ARDOUR::Processor>, bool); Gtk::Window* get_generic_editor_window (boost::shared_ptr<ARDOUR::Processor>); void edit_processor (boost::shared_ptr<ARDOUR::Processor>); |