12#ifndef __AUDACITY_MACROS_WINDOW__
13#define __AUDACITY_MACROS_WINDOW__
42 virtual void OnCancel(wxCommandEvent & event);
43 virtual void OnHelp(wxCommandEvent & event);
89 void OnCancel(wxCommandEvent &event)
override;
105 void OnAdd(wxCommandEvent &event);
106 void OnRemove(wxCommandEvent &event);
107 void OnRename(wxCommandEvent &event);
109 void OnImport(wxCommandEvent &event);
110 void OnExport(wxCommandEvent &event);
111 void OnSave(wxCommandEvent &event);
113 void OnExpand(wxCommandEvent &event);
114 void OnShrink(wxCommandEvent &event);
115 void OnSize(wxSizeEvent &event);
118 void OnInsert(wxCommandEvent &event);
121 void OnDelete(wxCommandEvent &event);
122 void OnUp(wxCommandEvent &event);
123 void OnDown(wxCommandEvent &event);
125 void OnOK(wxCommandEvent &event);
148 DECLARE_EVENT_TABLE()
EffectDistortionSettings params
Shows progress in executing commands in MacroCommands.
ApplyMacroDialog(wxWindow *parent, AudacityProject &project, bool bInherited=false)
wxButton * mResize
Provides list of available commands.
virtual void OnApplyToFiles(wxCommandEvent &event)
MacroCommands mMacroCommands
virtual ~ApplyMacroDialog()
AudacityProject & mProject
void ApplyMacroToProject(int iMacro, bool bHasGui=true)
wxString mMacroBeingRenamed
virtual void OnCancel(wxCommandEvent &event)
virtual void OnApplyToProject(wxCommandEvent &event)
const MacroCommandsCatalog mCatalog
virtual void OnHelp(wxCommandEvent &event)
void PopulateOrExchange(ShuttleGui &S)
Defines the dialog and does data exchange with it.
virtual ManualPageID GetHelpPageName()
static CommandID MacroIdOfName(const wxString &MacroName)
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Maintains the list of commands for batch/macro processing. See also MacrosWindow and ApplyMacroDialog...
void PopulateList()
This clears and updates the contents of mList, the commands for the current macro.
TranslatableString WindowTitle() const
void OnDelete(wxCommandEvent &event)
void OnListSelected(wxListEvent &event)
An item in the macros list has been selected.
void OnShrink(wxCommandEvent &event)
void OnExport(wxCommandEvent &event)
void PopulateOrExchange(ShuttleGui &S)
Defines the dialog and does data exchange with it.
void OnRestore(wxCommandEvent &event)
Reset a built in macro.
void OnCommandActivated(wxListEvent &event)
AudacityProject & mProject
void OnAdd(wxCommandEvent &event)
void OnUp(wxCommandEvent &event)
void OnCancel(wxCommandEvent &event) override
void OnApplyToProject(wxCommandEvent &event) override
void OnMacroSelected(wxListEvent &event)
An item in the macros list has been selected.
void OnExpand(wxCommandEvent &event)
void OnSave(wxCommandEvent &event)
void OnApplyToFiles(wxCommandEvent &event) override
void UpdateDisplay(bool bExpanded)
void UpdatePrefs() override
void OnMacrosBeginEdit(wxListEvent &event)
void OnSize(wxSizeEvent &event)
The window has been resized.
void OnMacrosEndEdit(wxListEvent &event)
void OnImport(wxCommandEvent &event)
MacrosWindow(wxWindow *parent, AudacityProject &project, bool bExpanded=true)
Constructor.
virtual ManualPageID GetHelpPageName() override
void OnDown(wxCommandEvent &event)
void OnEditCommandParams(wxCommandEvent &event)
void OnInsert(wxCommandEvent &event)
void OnRemove(wxCommandEvent &event)
void InsertCommandAt(int item)
void Populate()
Creates the dialog and its contents.
void AddItem(const CommandID &command, wxString const ¶ms)
Add one item into mList.
void OnKeyDown(wxKeyEvent &event)
void OnOK(wxCommandEvent &event)
Send changed values back to Prefs, and update Audacity.
void OnRename(wxCommandEvent &event)
A listener notified of changes in preferences.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.