mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01:00
Friendlier command names in the Edit Chains dialogs...
... Both the pane that lists the steps of the chain, and the selection dialog for adding a new step. NOT translating command names yet, though.
This commit is contained in:
@@ -40,7 +40,12 @@ class BatchCommands final {
|
||||
|
||||
// These commands do not depend on the command list.
|
||||
static wxArrayString GetNames();
|
||||
static wxArrayString GetAllCommands();
|
||||
|
||||
// A pair of user-visible name, and internal string identifier
|
||||
using CommandName = std::pair<wxString, wxString>;
|
||||
using CommandNameVector = std::vector<CommandName>;
|
||||
// Result is sorted by user-visible name
|
||||
static CommandNameVector GetAllCommands();
|
||||
|
||||
static wxString GetCurrentParamsFor(const wxString & command);
|
||||
static wxString PromptForParamsFor(const wxString & command, const wxString & params, wxWindow *parent);
|
||||
|
||||
Reference in New Issue
Block a user