mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-22 16:41:18 +01:00
Add columns to Label editor for low and high spectral selection
This commit is contained in:
@@ -47,7 +47,7 @@ class LabelDialog final : public wxDialog
|
||||
|
||||
ViewInfo &viewinfo,
|
||||
double rate,
|
||||
const wxString & format);
|
||||
const wxString & format, const wxString &freqFormat);
|
||||
~LabelDialog();
|
||||
|
||||
bool Show(bool show = true) override;
|
||||
@@ -63,6 +63,7 @@ class LabelDialog final : public wxDialog
|
||||
wxString TrackName(int & index, const wxString &dflt = _("Label Track"));
|
||||
|
||||
void OnUpdate(wxCommandEvent &event);
|
||||
void OnFreqUpdate(wxCommandEvent &event);
|
||||
void OnInsert(wxCommandEvent &event);
|
||||
void OnRemove(wxCommandEvent &event);
|
||||
void OnImport(wxCommandEvent &event);
|
||||
@@ -73,6 +74,8 @@ class LabelDialog final : public wxDialog
|
||||
void OnChangeLabel(wxGridEvent &event, int row, RowData *rd);
|
||||
void OnChangeStime(wxGridEvent &event, int row, RowData *rd);
|
||||
void OnChangeEtime(wxGridEvent &event, int row, RowData *rd);
|
||||
void OnChangeLfreq(wxGridEvent &event, int row, RowData *rd);
|
||||
void OnChangeHfreq(wxGridEvent &event, int row, RowData *rd);
|
||||
void OnOK(wxCommandEvent &event);
|
||||
void OnCancel(wxCommandEvent &event);
|
||||
|
||||
@@ -81,6 +84,7 @@ class LabelDialog final : public wxDialog
|
||||
Grid *mGrid;
|
||||
ChoiceEditor *mChoiceEditor;
|
||||
NumericEditor *mTimeEditor;
|
||||
NumericEditor *mFrequencyEditor;
|
||||
|
||||
RowDataArray mData;
|
||||
|
||||
@@ -92,6 +96,7 @@ class LabelDialog final : public wxDialog
|
||||
wxArrayString mTrackNames;
|
||||
double mRate;
|
||||
wxString mFormat;
|
||||
wxString mFreqFormat;
|
||||
|
||||
int mInitialRow;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user