1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

Preload the "Select Preset" with current setting

Also, loads the command parameters box with the default preset if
the selected effect doesn't expose any automation parameters.
This commit is contained in:
Leland Lucius
2015-04-27 05:02:56 -05:00
parent cb147e5605
commit e41db0e4b4
7 changed files with 152 additions and 27 deletions

View File

@@ -40,10 +40,10 @@ class BatchCommands {
// These commands do not depend on the command list.
wxArrayString GetNames();
static bool PromptForParamsFor( wxString command, wxWindow *parent );
static wxString GetCurrentParamsFor( wxString command );
static bool PromptForParamsFor(const wxString & command, wxWindow *parent );
static wxString GetCurrentParamsFor(const wxString & command);
static bool SetCurrentParametersFor(const wxString & command, const wxString & params);
static wxString PromptForPresetFor( wxString command, wxWindow *parent );
static wxString PromptForPresetFor( const wxString & command, const wxString & params, wxWindow *parent );
static bool SetCurrentPresetFor(const wxString & command, const wxString & preset);
static wxArrayString GetAllCommands();