MCPcopy Create free account
hub / github.com/audacity/audacity / OnLoop

Method OnLoop

src/toolbars/ControlToolBar.cpp:618–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616}
617
618void ControlToolBar::OnLoop(wxCommandEvent & WXUNUSED(evt))
619{
620 // Toggle the state of the play region lock
621 auto &region = ViewInfo::Get(mProject).playRegion;
622 if (region.Active())
623 SelectUtilities::InactivatePlayRegion(mProject);
624 else
625 SelectUtilities::ActivatePlayRegion(mProject);
626}
627
628void ControlToolBar::OnIdle(wxIdleEvent & event)
629{

Callers

nothing calls this directly

Calls 3

GetFunction · 0.85
InactivatePlayRegionFunction · 0.85
ActivatePlayRegionFunction · 0.85

Tested by

no test coverage detected