Audacity 3.2.0
|
EqualizationCurvesDialog manages the available preset curves. More...
#include <EqualizationCurvesDialog.h>
Public Member Functions | |
EqualizationCurvesDialog (wxWindow *parent, const TranslatableString &name, int options, EQCurveArray &curves, int position) | |
~EqualizationCurvesDialog () | |
int | GetItem () const |
Public Member Functions inherited from wxDialogWrapper | |
wxDialogWrapper () | |
wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) | |
bool | Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
void | SetTitle (const TranslatableString &title) |
void | SetLabel (const TranslatableString &title) |
void | SetName (const TranslatableString &title) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxDialog > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Private Types | |
enum | EQCurvesDialogControls { CurvesListID = 11000 , UpButtonID , DownButtonID , RenameButtonID , DeleteButtonID , ImportButtonID , ExportButtonID , LibraryButtonID , DefaultsButtonID } |
Private Member Functions | |
void | Populate () |
Creates the dialog and its contents. More... | |
void | PopulateOrExchange (ShuttleGui &S) |
Defines the dialog and does data exchange with it. More... | |
void | PopulateList (int position) |
void | OnUp (wxCommandEvent &event) |
void | OnDown (wxCommandEvent &event) |
long | GetPreviousItem (long item) |
void | OnRename (wxCommandEvent &event) |
void | OnDelete (wxCommandEvent &event) |
void | OnImport (wxCommandEvent &event) |
void | OnExport (wxCommandEvent &event) |
void | OnLibrary (wxCommandEvent &event) |
void | OnDefaults (wxCommandEvent &event) |
void | OnOK (wxCommandEvent &event) |
void | OnListSelectionChange (wxListEvent &event) |
Private Attributes | |
const TranslatableString & | mName |
const int | mOptions |
EQCurveArray & | mCurves |
wxListCtrl * | mList |
EQCurveArray | mEditCurves |
wxWindow * | mParent |
int | mPosition |
int | mItem { -1 } |
EqualizationCurvesDialog manages the available preset curves.
Definition at line 24 of file EqualizationCurvesDialog.h.
|
private |
Enumerator | |
---|---|
CurvesListID | |
UpButtonID | |
DownButtonID | |
RenameButtonID | |
DeleteButtonID | |
ImportButtonID | |
ExportButtonID | |
LibraryButtonID | |
DefaultsButtonID |
Definition at line 34 of file EqualizationCurvesDialog.h.
EqualizationCurvesDialog::OnListSelectionChange EqualizationCurvesDialog::EqualizationCurvesDialog | ( | wxWindow * | parent, |
const TranslatableString & | name, | ||
int | options, | ||
EQCurveArray & | curves, | ||
int | position | ||
) |
Definition at line 38 of file EqualizationCurvesDialog.cpp.
References name.
EqualizationCurvesDialog::~EqualizationCurvesDialog | ( | ) |
Definition at line 59 of file EqualizationCurvesDialog.cpp.
|
inline |
Definition at line 30 of file EqualizationCurvesDialog.h.
References mItem.
Referenced by EqualizationUI::OnManage().
|
private |
Definition at line 205 of file EqualizationCurvesDialog.cpp.
References mList.
Referenced by OnDown().
|
private |
Definition at line 499 of file EqualizationCurvesDialog.cpp.
References mEditCurves, mName, mOptions, PopulateList(), and wxT().
|
private |
Definition at line 335 of file EqualizationCurvesDialog.cpp.
References EQUtils::DoMessageBox(), mEditCurves, mList, mName, PopulateList(), and XO().
|
private |
Definition at line 174 of file EqualizationCurvesDialog.cpp.
References GetPreviousItem(), mEditCurves, mList, EQCurve::Name, EQCurve::points, and wxT().
|
private |
Definition at line 448 of file EqualizationCurvesDialog.cpp.
References FileNames::DataDir(), EQUtils::DoMessageBox(), FileDialog::GetPath(), mEditCurves, mList, mName, EQCurveWriter::SaveCurves(), FileDialog::ShowModal(), wxT(), XMLtypes(), and XO().
|
private |
Definition at line 431 of file EqualizationCurvesDialog.cpp.
References FileNames::DataDir(), FileDialog::GetPath(), mEditCurves, mName, mOptions, PopulateList(), FileDialog::ShowModal(), wxT(), XMLtypes(), and XO().
|
private |
Definition at line 493 of file EqualizationCurvesDialog.cpp.
References wxT().
|
private |
Definition at line 532 of file EqualizationCurvesDialog.cpp.
References DeleteButtonID, DownButtonID, mList, RenameButtonID, and UpButtonID.
|
private |
Definition at line 507 of file EqualizationCurvesDialog.cpp.
References FileNames::DataDir(), mCurves, mEditCurves, mItem, mList, mName, mOptions, and wxT().
|
private |
Definition at line 219 of file EqualizationCurvesDialog.cpp.
References _, EQUtils::DoMessageBox(), mEditCurves, mList, mName, name, PopulateList(), wxT(), and XO().
|
private |
Definition at line 137 of file EqualizationCurvesDialog.cpp.
References EQUtils::DoMessageBox(), mEditCurves, mList, mName, EQCurve::Name, EQCurve::points, wxT(), and XO().
|
private |
Creates the dialog and its contents.
Definition at line 64 of file EqualizationCurvesDialog.cpp.
References eIsCreating, PopulateOrExchange(), and S.
|
private |
Definition at line 110 of file EqualizationCurvesDialog.cpp.
References mEditCurves, and mList.
Referenced by OnDefaults(), OnDelete(), OnImport(), OnRename(), and PopulateOrExchange().
|
private |
Defines the dialog and does data exchange with it.
Definition at line 73 of file EqualizationCurvesDialog.cpp.
References CurvesListID, DefaultsButtonID, DeleteButtonID, DownButtonID, ExportButtonID, ImportButtonID, LibraryButtonID, mList, mPosition, PopulateList(), RenameButtonID, S, UpButtonID, XO(), and XXO().
Referenced by Populate().
|
private |
Definition at line 49 of file EqualizationCurvesDialog.h.
Referenced by OnOK().
|
private |
Definition at line 51 of file EqualizationCurvesDialog.h.
Referenced by OnDefaults(), OnDelete(), OnDown(), OnExport(), OnImport(), OnOK(), OnRename(), OnUp(), and PopulateList().
|
private |
Definition at line 54 of file EqualizationCurvesDialog.h.
|
private |
Definition at line 50 of file EqualizationCurvesDialog.h.
Referenced by GetPreviousItem(), OnDelete(), OnDown(), OnExport(), OnListSelectionChange(), OnOK(), OnRename(), OnUp(), PopulateList(), and PopulateOrExchange().
|
private |
Definition at line 47 of file EqualizationCurvesDialog.h.
Referenced by OnDefaults(), OnDelete(), OnExport(), OnImport(), OnOK(), OnRename(), and OnUp().
|
private |
Definition at line 48 of file EqualizationCurvesDialog.h.
Referenced by OnDefaults(), OnImport(), and OnOK().
|
private |
Definition at line 52 of file EqualizationCurvesDialog.h.
|
private |
Definition at line 53 of file EqualizationCurvesDialog.h.
Referenced by PopulateOrExchange().