diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 14:45:56 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 14:59:11 -0400 |
commit | ea5fa64c0bcfb6a916326756b5f84a78a2478025 (patch) | |
tree | 8efeb2699db85570a8dbf8935148c5cb9413f1f6 /gtk2_ardour/route_params_ui.cc | |
parent | d381714510ef066416ea16623102b27de8aa6f38 (diff) |
manually fix up various cases where Gtk:Frame foo_frame had been changed to foo_sample
Diffstat (limited to 'gtk2_ardour/route_params_ui.cc')
-rw-r--r-- | gtk2_ardour/route_params_ui.cc | 55 |
1 files changed, 27 insertions, 28 deletions
diff --git a/gtk2_ardour/route_params_ui.cc b/gtk2_ardour/route_params_ui.cc index 0b2477dd1a..706ac2a536 100644 --- a/gtk2_ardour/route_params_ui.cc +++ b/gtk2_ardour/route_params_ui.cc @@ -70,9 +70,9 @@ RouteParams_UI::RouteParams_UI () using namespace Notebook_Helpers; - input_sample.set_shadow_type(Gtk::SHADOW_NONE); - output_sample.set_shadow_type(Gtk::SHADOW_NONE); - latency_sample.set_shadow_type (Gtk::SHADOW_NONE); + input_frame.set_shadow_type(Gtk::SHADOW_NONE); + output_frame.set_shadow_type(Gtk::SHADOW_NONE); + latency_frame.set_shadow_type (Gtk::SHADOW_NONE); notebook.set_show_tabs (true); notebook.set_show_border (true); @@ -96,16 +96,16 @@ RouteParams_UI::RouteParams_UI () route_select_scroller.add(route_display); route_select_scroller.set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC); - route_select_sample.set_name("RouteSelectBaseFrame"); - route_select_sample.set_shadow_type (Gtk::SHADOW_IN); - route_select_sample.add(route_select_scroller); + route_select_frame.set_name("RouteSelectBaseFrame"); + route_select_frame.set_shadow_type (Gtk::SHADOW_IN); + route_select_frame.add(route_select_scroller); - list_vpacker.pack_start (route_select_sample, true, true); + list_vpacker.pack_start (route_select_frame, true, true); - notebook.pages().push_back (TabElem (input_sample, _("Inputs"))); - notebook.pages().push_back (TabElem (output_sample, _("Outputs"))); + notebook.pages().push_back (TabElem (input_frame, _("Inputs"))); + notebook.pages().push_back (TabElem (output_frame, _("Outputs"))); notebook.pages().push_back (TabElem (redir_hpane, _("Plugins, Inserts & Sends"))); - notebook.pages().push_back (TabElem (latency_sample, _("Latency"))); + notebook.pages().push_back (TabElem (latency_frame, _("Latency"))); notebook.set_name ("InspectorNotebook"); @@ -117,9 +117,8 @@ RouteParams_UI::RouteParams_UI () delay_label.set_alignment (0, 0.5); // changeable area - route_param_sample.set_name("RouteParamsBaseFrame"); - route_param_sample.set_shadow_type (Gtk::SHADOW_IN); - + route_param_frame.set_name("RouteParamsBaseFrame"); + route_param_frame.set_shadow_type (Gtk::SHADOW_IN); route_hpacker.pack_start (notebook, true, true); @@ -276,10 +275,10 @@ RouteParams_UI::refresh_latency () } void -RouteParams_UI::cleanup_latency_sample () +RouteParams_UI::cleanup_latency_frame () { if (latency_widget) { - latency_sample.remove (); + latency_frame.remove (); latency_packer.remove (*latency_widget); latency_packer.remove (latency_button_box); latency_packer.remove (delay_label); @@ -293,7 +292,7 @@ RouteParams_UI::cleanup_latency_sample () } void -RouteParams_UI::setup_latency_sample () +RouteParams_UI::setup_latency_frame () { latency_widget = new LatencyGUI (*(_route->output()), _session->sample_rate(), AudioEngine::instance()->samples_per_cycle()); @@ -309,8 +308,8 @@ RouteParams_UI::setup_latency_sample () _route->signal_latency_changed.connect (latency_connections, invalidator (*this), boost::bind (&RouteParams_UI::refresh_latency, this), gui_context()); _route->initial_delay_changed.connect (latency_connections, invalidator (*this), boost::bind (&RouteParams_UI::refresh_latency, this), gui_context()); - latency_sample.add (latency_packer); - latency_sample.show_all (); + latency_frame.add (latency_packer); + latency_frame.show_all (); } void @@ -321,14 +320,14 @@ RouteParams_UI::setup_io_samples() // input _input_iosel = new IOSelector (this, _session, _route->input()); _input_iosel->setup (); - input_sample.add (*_input_iosel); - input_sample.show_all(); + input_frame.add (*_input_iosel); + input_frame.show_all(); // output _output_iosel = new IOSelector (this, _session, _route->output()); _output_iosel->setup (); - output_sample.add (*_output_iosel); - output_sample.show_all(); + output_frame.add (*_output_iosel); + output_frame.show_all(); } void @@ -336,7 +335,7 @@ RouteParams_UI::cleanup_io_samples() { if (_input_iosel) { _input_iosel->Finished (IOSelector::Cancelled); - input_sample.remove(); + input_frame.remove(); delete _input_iosel; _input_iosel = 0; } @@ -344,7 +343,7 @@ RouteParams_UI::cleanup_io_samples() if (_output_iosel) { _output_iosel->Finished (IOSelector::Cancelled); - output_sample.remove(); + output_frame.remove(); delete _output_iosel; _output_iosel = 0; } @@ -432,7 +431,7 @@ RouteParams_UI::session_going_away () cleanup_io_samples(); cleanup_view(); cleanup_processor_boxes(); - cleanup_latency_sample (); + cleanup_latency_frame (); _route.reset ((Route*) 0); _processor.reset ((Processor*) 0); @@ -460,7 +459,7 @@ RouteParams_UI::route_selected() cleanup_processor_boxes(); cleanup_view(); cleanup_io_samples(); - cleanup_latency_sample (); + cleanup_latency_frame (); } // update the other panes with the correct info @@ -469,7 +468,7 @@ RouteParams_UI::route_selected() setup_io_samples(); setup_processor_boxes(); - setup_latency_sample (); + setup_latency_frame (); route->processors_changed.connect (_route_processors_connection, invalidator (*this), boost::bind (&RouteParams_UI::processors_changed, this, _1), gui_context()); @@ -486,7 +485,7 @@ RouteParams_UI::route_selected() cleanup_io_samples(); cleanup_view(); cleanup_processor_boxes(); - cleanup_latency_sample (); + cleanup_latency_frame (); _route.reset ((Route*) 0); _processor.reset ((Processor*) 0); |