Overhaul PortInsert UI

* add gain controls for send/return
* add send polarity invert control
* allow to customize latency
* set transient parent
* cleanup and format source
This commit is contained in:
Robin Gareus 2022-10-11 06:16:10 +02:00
parent 40ea071873
commit c3697e1755
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 300 additions and 146 deletions

View file

@ -4027,7 +4027,9 @@ ProcessorBox::get_editor_window (boost::shared_ptr<Processor> processor, bool us
Window* w = get_processor_ui (port_insert);
if (w == 0) {
io_selector = new PortInsertWindow (_session, port_insert);
Gtk::Window* tlw = dynamic_cast<Gtk::Window*> (get_toplevel ());
assert (tlw);
io_selector = new PortInsertWindow (*tlw, _session, port_insert);
set_processor_ui (port_insert, io_selector);
} else {