trigger_ui: disambiguate set_triggerbox() from set_trigger()

This commit is contained in:
Ben Loftis 2021-12-30 12:20:17 -06:00
parent 81a011b786
commit 1dc756142c
4 changed files with 4 additions and 4 deletions

View File

@ -2135,7 +2135,7 @@ MixerStrip::hide_master_spacer (bool yn)
void
MixerStrip::set_trigger_display (boost::shared_ptr<TriggerBox> tb)
{
_tmaster->set_trigger (tb);
_tmaster->set_triggerbox (tb);
trigger_display.set_triggerbox (tb.get());
}

View File

@ -231,7 +231,7 @@ TriggerMaster::~TriggerMaster ()
}
void
TriggerMaster::set_trigger (boost::shared_ptr<ARDOUR::TriggerBox> t)
TriggerMaster::set_triggerbox (boost::shared_ptr<ARDOUR::TriggerBox> t)
{
_triggerbox = t;
}

View File

@ -67,7 +67,7 @@ public:
TriggerMaster (ArdourCanvas::Item* canvas);
~TriggerMaster ();
void set_trigger (boost::shared_ptr<ARDOUR::TriggerBox>);
void set_triggerbox (boost::shared_ptr<ARDOUR::TriggerBox>);
void render (ArdourCanvas::Rect const&, Cairo::RefPtr<Cairo::Context>) const;

View File

@ -190,7 +190,7 @@ TriggerStrip::set_route (boost::shared_ptr<Route> rt)
{
RouteUI::set_route (rt);
_tmaster->set_trigger(_route->triggerbox ());
_tmaster->set_triggerbox(_route->triggerbox ());
_processor_box.set_route (rt);