Audacity 3.2.0
|
Enumerations | |
enum | { kAlignStartZero = 0 , kAlignStartSelStart , kAlignStartSelEnd , kAlignEndSelStart , kAlignEndSelEnd , kAlignEndToEnd , kAlignTogether } |
enum | { kAudacitySortByTime = (1 << 1) , kAudacitySortByName = (1 << 2) } |
Variables | |
AttachedItem | sAttachment1 { Indirect(TracksMenu()) } |
AttachedItem | sAttachment2 |
anonymous enum |
Enumerator | |
---|---|
kAlignStartZero | |
kAlignStartSelStart | |
kAlignStartSelEnd | |
kAlignEndSelStart | |
kAlignEndSelEnd | |
kAlignEndToEnd | |
kAlignTogether |
Definition at line 147 of file TrackMenus.cpp.
anonymous enum |
Enumerator | |
---|---|
kAudacitySortByTime | |
kAudacitySortByName |
Definition at line 456 of file TrackMenus.cpp.
|
static |
Definition at line 159 of file TrackMenus.cpp.
Referenced by kAlignLabelsCount(), and TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::DoAlign | ( | AudacityProject & | project, |
int | index, | ||
bool | moveSel | ||
) |
Definition at line 169 of file TrackMenus.cpp.
References ProjectHistory::Get(), ViewInfo::Get(), TrackList::Get(), Viewport::Get(), ChannelGroup::GetEndTime(), ChannelGroup::GetStartTime(), SyncLock::IsSelectedOrSyncLockSelectedP(), kAlignEndSelEnd, kAlignEndSelStart, kAlignEndToEnd, kAlignLabelsCount(), kAlignStartSelEnd, kAlignStartSelStart, kAlignStartZero, kAlignTogether, project, ProjectHistory::PushState(), ViewInfo::selectedRegion, tracks, and XO().
Referenced by OnAlign(), and OnAlignNoSync().
void anonymous_namespace{TrackMenus.cpp}::DoMixAndRender | ( | AudacityProject & | project, |
bool | toNewTrack | ||
) |
Definition at line 48 of file TrackMenus.cpp.
References _, details::end(), TrackFocus::Get(), ProjectHistory::Get(), ProjectRate::Get(), TrackList::Get(), Viewport::Get(), WaveTrackFactory::Get(), TrackPanel::Get(), Track::GetName(), ProjectRate::GetRate(), MixAndRender(), WaveTrack::NChannels(), project, ProjectHistory::PushState(), staffpad::vo::rotate(), QualitySettings::SampleFormatChoice(), Viewport::ShowTrack(), tracks, and XO().
Referenced by OnMixAndRender(), and OnMixAndRenderToNewTrack().
void anonymous_namespace{TrackMenus.cpp}::DoPanTracks | ( | AudacityProject & | project, |
float | PanValue | ||
) |
Definition at line 127 of file TrackMenus.cpp.
References CONSOLIDATE, ProjectHistory::Get(), TrackList::Get(), Track::IsSelected(), NONE, project, ProjectHistory::PushState(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::size(), tracks, and XO().
Referenced by OnPanCenter(), OnPanLeft(), and OnPanRight().
void anonymous_namespace{TrackMenus.cpp}::DoSortTracks | ( | AudacityProject & | project, |
int | flags | ||
) |
Definition at line 461 of file TrackMenus.cpp.
References TrackList::Get(), Track::GetName(), kAudacitySortByName, kAudacitySortByTime, min(), project, size, and tracks.
Referenced by OnSortName(), and OnSortTime().
auto anonymous_namespace{TrackMenus.cpp}::ExtraTrackMenu | ( | ) |
Definition at line 1269 of file TrackMenus.cpp.
References AudioIONotBusyFlag(), MenuRegistry::Command, MenuRegistry::Menu, OnTrackClose(), OnTrackGain(), OnTrackGainDec(), OnTrackGainInc(), OnTrackMenu(), OnTrackMoveBottom(), OnTrackMoveDown(), OnTrackMoveTop(), OnTrackMoveUp(), OnTrackMute(), OnTrackPan(), OnTrackPanLeft(), OnTrackPanRight(), OnTrackSolo(), TrackPanelHasFocus(), TracksExistFlag(), wxT(), and XXO().
const size_t anonymous_namespace{TrackMenus.cpp}::kAlignLabelsCount | ( | ) |
Definition at line 167 of file TrackMenus.cpp.
References alignLabels().
Referenced by DoAlign(), and OnAlignNoSync().
|
static |
Definition at line 679 of file TrackMenus.cpp.
References ProjectHistory::Get(), TrackList::Get(), ProjectSettings::Get(), ProjectHistory::ModifyState(), CommandContext::project, project, PlayableTrack::SetMute(), settings(), SoloBehaviorSimple, tracks, and TracksBehaviorsSolo.
Referenced by OnMuteAllTracks(), OnMuteSelectedTracks(), OnUnmuteAllTracks(), and OnUnmuteSelectedTracks().
void anonymous_namespace{TrackMenus.cpp}::OnAlign | ( | const CommandContext & | context | ) |
Definition at line 744 of file TrackMenus.cpp.
References DoAlign(), gPrefs, CommandContext::index, CommandContext::project, project, audacity::BasicSettings::Read(), and wxT().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnAlignNoSync | ( | const CommandContext & | context | ) |
Definition at line 736 of file TrackMenus.cpp.
References DoAlign(), CommandContext::index, kAlignLabelsCount(), CommandContext::project, and project.
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnMixAndRender | ( | const CommandContext & | context | ) |
Definition at line 559 of file TrackMenus.cpp.
References DoMixAndRender(), CommandContext::project, and project.
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnMixAndRenderToNewTrack | ( | const CommandContext & | context | ) |
Definition at line 565 of file TrackMenus.cpp.
References DoMixAndRender(), CommandContext::project, and project.
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnMoveSelectionWithTracks | ( | const CommandContext & | WXUNUSEDcontext | ) |
Definition at line 761 of file TrackMenus.cpp.
References audacity::BasicSettings::Flush(), gPrefs, audacity::BasicSettings::Read(), audacity::BasicSettings::Write(), and wxT().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnMuteAllTracks | ( | const CommandContext & | context | ) |
Definition at line 698 of file TrackMenus.cpp.
References MuteTracks().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnMuteSelectedTracks | ( | const CommandContext & | context | ) |
Definition at line 708 of file TrackMenus.cpp.
References MuteTracks().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnPanCenter | ( | const CommandContext & | context | ) |
Definition at line 730 of file TrackMenus.cpp.
References DoPanTracks(), CommandContext::project, and project.
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnPanLeft | ( | const CommandContext & | context | ) |
Definition at line 718 of file TrackMenus.cpp.
References DoPanTracks(), CommandContext::project, and project.
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnPanRight | ( | const CommandContext & | context | ) |
Definition at line 724 of file TrackMenus.cpp.
References DoPanTracks(), CommandContext::project, and project.
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnRemoveTracks | ( | const CommandContext & | context | ) |
Definition at line 674 of file TrackMenus.cpp.
References TrackUtilities::DoRemoveTracks(), and CommandContext::project.
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnResample | ( | const CommandContext & | context | ) |
Definition at line 571 of file TrackMenus.cpp.
References AudacityMessageBox(), CONSOLIDATE, eIsCreating, ProjectHistory::Get(), UndoManager::Get(), ProjectRate::Get(), TrackList::Get(), Viewport::Get(), GetProjectFrame(), ProjectRate::GetRate(), lrint, BasicUI::MakeProgress(), NONE, CommandContext::project, project, ProjectHistory::PushState(), S, tracks, wxT(), XO(), and XXO().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnSortName | ( | const CommandContext & | context | ) |
Definition at line 905 of file TrackMenus.cpp.
References DoSortTracks(), ProjectHistory::Get(), kAudacitySortByName, CommandContext::project, project, ProjectHistory::PushState(), and XO().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnSortTime | ( | const CommandContext & | context | ) |
Definition at line 896 of file TrackMenus.cpp.
References DoSortTracks(), ProjectHistory::Get(), kAudacitySortByTime, CommandContext::project, project, ProjectHistory::PushState(), and XO().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnStereoToMono | ( | const CommandContext & | context | ) |
Definition at line 552 of file TrackMenus.cpp.
References EffectUI::DoEffect(), PluginManager::Get(), EffectManager::kConfigured, CommandContext::project, and wxT().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnSyncLock | ( | const CommandContext & | context | ) |
Definition at line 914 of file TrackMenus.cpp.
References audacity::BasicSettings::Flush(), TrackPanel::Get(), gPrefs, ToolManager::ModifyAllProjectToolbarMenus(), CommandContext::project, project, SyncLockTracks, and BoolSetting::Toggle().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackClose | ( | const CommandContext & | context | ) |
Definition at line 1041 of file TrackMenus.cpp.
References TrackUtilities::DoRemoveTrack(), TrackFocus::Get(), ProjectAudioIO::Get(), ProjectStatus::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), ProjectAudioIO::IsAudioActive(), CommandContext::project, project, ProjectStatus::Set(), and XO().
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackGain | ( | const CommandContext & | context | ) |
This will pop up the track gain dialog for specified track
Definition at line 969 of file TrackMenus.cpp.
References TrackFocus::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), CommandContext::project, project, SetTrackGain(), LWSlider::ShowDialog(), and WaveTrackControls::VolumeSlider().
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackGainDec | ( | const CommandContext & | context | ) |
Definition at line 996 of file TrackMenus.cpp.
References LWSlider::Decrease(), TrackFocus::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), CommandContext::project, project, SetTrackGain(), and WaveTrackControls::VolumeSlider().
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackGainInc | ( | const CommandContext & | context | ) |
Definition at line 983 of file TrackMenus.cpp.
References TrackFocus::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), LWSlider::Increase(), CommandContext::project, project, SetTrackGain(), and WaveTrackControls::VolumeSlider().
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackMenu | ( | const CommandContext & | context | ) |
Definition at line 1009 of file TrackMenus.cpp.
References TrackPanel::Get(), CommandContext::project, and project.
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackMoveBottom | ( | const CommandContext & | context | ) |
Definition at line 1105 of file TrackMenus.cpp.
References TrackUtilities::DoMoveTrack(), TrackFocus::Get(), TrackList::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), TrackUtilities::OnMoveBottomID, CommandContext::project, project, and tracks.
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackMoveDown | ( | const CommandContext & | context | ) |
Definition at line 1079 of file TrackMenus.cpp.
References TrackUtilities::DoMoveTrack(), TrackFocus::Get(), TrackList::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), TrackUtilities::OnMoveDownID, CommandContext::project, project, and tracks.
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackMoveTop | ( | const CommandContext & | context | ) |
Definition at line 1092 of file TrackMenus.cpp.
References TrackUtilities::DoMoveTrack(), TrackFocus::Get(), TrackList::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), TrackUtilities::OnMoveTopID, CommandContext::project, project, and tracks.
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackMoveUp | ( | const CommandContext & | context | ) |
Definition at line 1066 of file TrackMenus.cpp.
References TrackUtilities::DoMoveTrack(), TrackFocus::Get(), TrackList::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), TrackUtilities::OnMoveUpID, CommandContext::project, project, and tracks.
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackMute | ( | const CommandContext & | context | ) |
Definition at line 1017 of file TrackMenus.cpp.
References TrackUtilities::DoTrackMute(), TrackFocus::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), CommandContext::project, project, TemporarySelection::pTrack, and CommandContext::temporarySelection.
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackPan | ( | const CommandContext & | context | ) |
The following methods operate controls on specified tracks, This will pop up the track panning dialog for specified track
Definition at line 930 of file TrackMenus.cpp.
References TrackFocus::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), WaveTrackControls::PanSlider(), CommandContext::project, project, SetTrackPan(), and LWSlider::ShowDialog().
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackPanLeft | ( | const CommandContext & | context | ) |
Definition at line 943 of file TrackMenus.cpp.
References LWSlider::Decrease(), TrackFocus::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), WaveTrackControls::PanSlider(), CommandContext::project, project, and SetTrackPan().
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackPanRight | ( | const CommandContext & | context | ) |
Definition at line 956 of file TrackMenus.cpp.
References TrackFocus::Get(), TrackPanel::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), LWSlider::Increase(), WaveTrackControls::PanSlider(), CommandContext::project, project, and SetTrackPan().
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnTrackSolo | ( | const CommandContext & | context | ) |
Definition at line 1031 of file TrackMenus.cpp.
References TrackUtilities::DoTrackSolo(), TrackFocus::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), CommandContext::project, and project.
Referenced by ExtraTrackMenu().
void anonymous_namespace{TrackMenus.cpp}::OnUnmuteAllTracks | ( | const CommandContext & | context | ) |
Definition at line 703 of file TrackMenus.cpp.
References MuteTracks().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::OnUnmuteSelectedTracks | ( | const CommandContext & | context | ) |
Definition at line 713 of file TrackMenus.cpp.
References MuteTracks().
Referenced by TracksMenu().
void anonymous_namespace{TrackMenus.cpp}::SetTrackGain | ( | AudacityProject & | project, |
WaveTrack * | wt, | ||
LWSlider * | slider | ||
) |
Definition at line 520 of file TrackMenus.cpp.
References CONSOLIDATE, ProjectHistory::Get(), TrackPanel::Get(), LWSlider::Get(), project, ProjectHistory::PushState(), TrackPanel::RefreshTrack(), WaveTrack::SetVolume(), and XO().
Referenced by OnTrackGain(), OnTrackGainDec(), and OnTrackGainInc().
void anonymous_namespace{TrackMenus.cpp}::SetTrackPan | ( | AudacityProject & | project, |
WaveTrack * | wt, | ||
LWSlider * | slider | ||
) |
Definition at line 533 of file TrackMenus.cpp.
References CONSOLIDATE, ProjectHistory::Get(), TrackPanel::Get(), LWSlider::Get(), project, ProjectHistory::PushState(), TrackPanel::RefreshTrack(), WaveTrack::SetPan(), and XO().
Referenced by OnTrackPan(), OnTrackPanLeft(), and OnTrackPanRight().
auto anonymous_namespace{TrackMenus.cpp}::TracksMenu | ( | ) |
Definition at line 1122 of file TrackMenus.cpp.
References alignLabels(), AlwaysEnabledFlag, AnyTracksSelectedFlag(), AudioIONotBusyFlag(), MenuRegistry::Options::CheckTest(), MenuRegistry::Command, MenuRegistry::CommandGroup, EditableTracksSelectedFlag(), PluginManager::Get(), PluginManager::GetByCommandIdentifier(), PluginManager::GetPlugin(), PluginDescriptor::IsEnabled(), MenuRegistry::Options::LongName(), MenuRegistry::Menu, OnAlign(), OnAlignNoSync(), OnMixAndRender(), OnMixAndRenderToNewTrack(), OnMoveSelectionWithTracks(), OnMuteAllTracks(), OnMuteSelectedTracks(), OnPanCenter(), OnPanLeft(), OnPanRight(), OnRemoveTracks(), OnResample(), OnSortName(), OnSortTime(), OnStereoToMono(), OnSyncLock(), OnUnmuteAllTracks(), OnUnmuteSelectedTracks(), MenuRegistry::Section, StereoRequiredFlag(), SyncLockTracks, TracksExistFlag(), WaveTracksSelectedFlag(), wxT(), XO(), and XXO().
AttachedItem anonymous_namespace{TrackMenus.cpp}::sAttachment1 { Indirect(TracksMenu()) } |
Definition at line 1267 of file TrackMenus.cpp.
AttachedItem anonymous_namespace{TrackMenus.cpp}::sAttachment2 |
Definition at line 1321 of file TrackMenus.cpp.