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

Method OnFF

src/toolbars/ControlToolBar.cpp:707–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707void ControlToolBar::OnFF(wxCommandEvent & WXUNUSED(evt))
708{
709 mFF->PushDown();
710 mFF->PopUp();
711
712 AudacityProject *p = &mProject;
713
714 {
715 ProjectAudioManager::Get( *p ).StopIfPaused();
716 Viewport::Get(*p).ScrollToEnd(mFF->WasShiftDown());
717 }
718}
719
720// works out the width of the field in the status bar needed for the state (eg play, record pause)
721static ProjectStatus::RegisteredStatusWidthFunction

Callers 1

OnSkipEndMethod · 0.80

Calls 6

GetFunction · 0.85
StopIfPausedMethod · 0.80
ScrollToEndMethod · 0.80
WasShiftDownMethod · 0.80
PushDownMethod · 0.45
PopUpMethod · 0.45

Tested by

no test coverage detected