1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-05 00:23:56 +01:00

Rejig EditLabels Dialog.

- Made it more like the Edit Chains Dialog. (Buttons on right).
- Now using ShuttleGui somewhat.
- Gave it a Help button.
This commit is contained in:
James Crook
2018-03-04 18:24:10 +00:00
parent 5c4b2249fd
commit 159a3ab6af
2 changed files with 80 additions and 37 deletions

View File

@@ -27,6 +27,7 @@ class RowData;
class EmptyLabelRenderer;
class LabelTrack;
class ViewInfo;
class ShuttleGui;
typedef std::vector<RowData> RowDataArray;
@@ -54,6 +55,12 @@ class LabelDialog final : public wxDialogWrapper
private:
void Populate();
void PopulateOrExchange( ShuttleGui & S );
void PopulateLabels();
virtual void OnHelp(wxCommandEvent & event);
virtual wxString GetHelpPageName() {return "Labels_Editor";};
bool TransferDataToWindow() override;
bool TransferDataFromWindow() override;
bool Validate();