![]() |
Audacity 3.2.0
|
Functions | |
AUDACITY_DLL_API DialogFactoryResults | DialogFactory (wxWindow &parent, EffectBase &host, EffectUIServices &client, EffectSettingsAccess &access) |
AUDACITY_DLL_API bool | DoEffect (const PluginID &ID, const CommandContext &context, unsigned flags) |
'Repeat Last Effect'. More... | |
DialogFactoryResults EffectUI::DialogFactory | ( | wxWindow & | parent, |
EffectBase & | host, | ||
EffectUIServices & | client, | ||
EffectSettingsAccess & | access | ||
) |
Definition at line 1109 of file EffectUI.cpp.
References FindProjectFromWindow(), project, and safenew.
Referenced by DoEffect(), and MacroCommands::PromptForParamsFor().
bool EffectUI::DoEffect | ( | const PluginID & | ID, |
const CommandContext & | context, | ||
unsigned | flags | ||
) |
'Repeat Last Effect'.
Run an effect given the plugin ID
DoEffect() takes a PluginID and executes the associated effect.
At the moment flags are used only to indicate whether to prompt for
Definition at line 1146 of file EffectUI.cpp.
References DialogFactory(), EffectTypeAnalyze, EffectTypeGenerate, EffectTypeProcess, EffectTypeTool, BasicUI::FindFocus(), PluginManager::Get(), TrackFocus::Get(), EffectManager::Get(), CommandManager::Get(), ProjectHistory::Get(), ProjectRate::Get(), ViewInfo::Get(), TrackList::Get(), Viewport::Get(), WaveTrackFactory::Get(), ProjectAudioManager::Get(), EffectManager::GetCommandDescription(), EffectManager::GetCommandName(), EffectManager::GetDefaultSettings(), EffectManager::GetEffect(), PluginDescriptor::GetEffectType(), PluginManager::GetPlugin(), GetProjectFrame(), ProjectRate::GetRate(), EffectManager::GetSkipStateFlag(), PluginManager::IsPluginAvailable(), EffectManager::kConfigured, EffectManager::kDontRepeatLast, EffectManager::kRepeatNyquistPrompt, EffectManager::kSkipState, NYQUIST_PROMPT_NAME, CommandContext::project, project, ProjectHistory::PushState(), CommandManager::repeattypeplugin, SelectUtilities::SelectAllIfNone(), ViewInfo::selectedRegion, EffectManager::SetSkipStateFlag(), settings(), BasicUI::ShowMessageBox(), Viewport::ShowTrack(), ProjectAudioManager::Stop(), tracks, CommandManager::UpdateMenus(), wxT(), and XO().
Referenced by MacroCommands::ApplyEffectCommand(), CommandDispatch::HandleTextualCommand(), EffectUIHost::OnApply(), anonymous_namespace{PluginMenus.cpp}::OnEffect(), NyqBench::OnGo(), anonymous_namespace{PluginMenus.cpp}::OnRepeatLastAnalyzer(), anonymous_namespace{PluginMenus.cpp}::OnRepeatLastEffect(), anonymous_namespace{PluginMenus.cpp}::OnRepeatLastGenerator(), anonymous_namespace{BatchProcessDialog.cpp}::OnRepeatLastTool(), and anonymous_namespace{TrackMenus.cpp}::OnStereoToMono().