MCPcopy Create free account
hub / github.com/audacity/audacity / PopulateOrExchange

Method PopulateOrExchange

src/TimerRecordExportDialog.cpp:41–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void TimerRecordExportDialog::PopulateOrExchange(ShuttleGui& S)
42{
43 S.SetBorder(5);
44 S.StartVerticalLay();
45 {
46 if(S.GetMode() == eIsCreating)
47 {
48 mExportFilePanel = safenew ExportFilePanel(mProject, true, this, ExportFilePanelID);
49 S.AddWindow(mExportFilePanel, wxEXPAND);
50 }
51
52 S.StartHorizontalLay(wxEXPAND);
53 {
54 mEditMetadata = S.Id(EditMetadataID).AddButton(XO("Edit &Metadata..."), wxLEFT | wxBOTTOM);
55 S.AddSpace(1, 1, wxEXPAND);
56 S.Id(wxID_CANCEL).AddButton(XO("&Cancel"), wxBOTTOM);
57 S.Id(wxID_OK).AddButton(XO("O&K"), wxRIGHT | wxBOTTOM, true);
58 }
59 S.EndHorizontalLay();
60 }
61 S.EndVerticalLay();
62}
63
64void TimerRecordExportDialog::OnOK(wxCommandEvent& event)
65{

Callers

nothing calls this directly

Calls 4

GetModeMethod · 0.80
AddWindowMethod · 0.80
ExportFilePanelClass · 0.50
AddButtonMethod · 0.45

Tested by

no test coverage detected