diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-26 10:46:28 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:45 -0400 |
commit | 91a95b086aa38477dc57f7ffc3466e38aa218d9f (patch) | |
tree | f2473d37bacc2dc6ca93e099e031d812f5558c0f /gtk2_ardour/route_params_ui.cc | |
parent | 3c4503a8492d705579030a91f83a2b93f2a97b8b (diff) |
initial sort-of-mostly-working integration of new Pane
Diffstat (limited to 'gtk2_ardour/route_params_ui.cc')
-rw-r--r-- | gtk2_ardour/route_params_ui.cc | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/gtk2_ardour/route_params_ui.cc b/gtk2_ardour/route_params_ui.cc index 16595b25a2..9ea7599bf6 100644 --- a/gtk2_ardour/route_params_ui.cc +++ b/gtk2_ardour/route_params_ui.cc @@ -125,12 +125,14 @@ RouteParams_UI::RouteParams_UI () route_vpacker.pack_start (route_hpacker, true, true); - list_hpane.pack1 (list_vpacker); - list_hpane.add2 (route_vpacker); + list_hpane.add (list_vpacker); + list_hpane.add (route_vpacker); - list_hpane.set_position(110); + /// XXX PANE + //list_hpane.set_position(110); - redir_hpane.set_position(110); + /// XXX PANE + //redir_hpane.set_position(110); //global_vpacker.pack_start (list_hpane, true, true); //get_vbox()->pack_start (global_vpacker); @@ -250,7 +252,7 @@ RouteParams_UI::setup_processor_boxes() if (at) { at->FreezeChange.connect (route_connections, invalidator (*this), boost::bind (&RouteParams_UI::map_frozen, this), gui_context()); } - redir_hpane.pack1 (*insert_box); + redir_hpane.add (*insert_box); insert_box->ProcessorSelected.connect (sigc::mem_fun(*this, &RouteParams_UI::redirect_selected)); //note: this indicates a double-click activation, not just a "selection" insert_box->ProcessorUnselected.connect (sigc::mem_fun(*this, &RouteParams_UI::redirect_selected)); @@ -546,7 +548,7 @@ RouteParams_UI::redirect_selected (boost::shared_ptr<ARDOUR::Processor> proc) send->DropReferences.connect (_processor_going_away_connection, invalidator (*this), boost::bind (&RouteParams_UI::processor_going_away, this, boost::weak_ptr<Processor>(proc)), gui_context()); _active_view = send_ui; - redir_hpane.add2 (*_active_view); + redir_hpane.add (*_active_view); redir_hpane.show_all(); } else if ((retrn = boost::dynamic_pointer_cast<Return> (proc)) != 0) { @@ -557,7 +559,7 @@ RouteParams_UI::redirect_selected (boost::shared_ptr<ARDOUR::Processor> proc) retrn->DropReferences.connect (_processor_going_away_connection, invalidator (*this), boost::bind (&RouteParams_UI::processor_going_away, this, boost::weak_ptr<Processor>(proc)), gui_context()); _active_view = return_ui; - redir_hpane.add2 (*_active_view); + redir_hpane.add (*_active_view); redir_hpane.show_all(); } else if ((plugin_insert = boost::dynamic_pointer_cast<PluginInsert> (proc)) != 0) { @@ -569,7 +571,7 @@ RouteParams_UI::redirect_selected (boost::shared_ptr<ARDOUR::Processor> proc) plugin_ui->start_updating (0); _active_view = plugin_ui; - redir_hpane.pack2 (*_active_view); + redir_hpane.add (*_active_view); redir_hpane.show_all(); } else if ((port_insert = boost::dynamic_pointer_cast<PortInsert> (proc)) != 0) { @@ -580,7 +582,7 @@ RouteParams_UI::redirect_selected (boost::shared_ptr<ARDOUR::Processor> proc) port_insert->DropReferences.connect (_processor_going_away_connection, invalidator (*this), boost::bind (&RouteParams_UI::processor_going_away, this, boost::weak_ptr<Processor> (proc)), gui_context()); _active_view = portinsert_ui; - redir_hpane.pack2 (*_active_view); + redir_hpane.add (*_active_view); portinsert_ui->redisplay(); redir_hpane.show_all(); } |