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

Method InitUI

src/prefs/EffectsPrefs.cpp:80–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 void InitUI()
81 {
82 auto mainSizer = std::make_unique<wxBoxSizer>(wxVERTICAL);
83 mainSizer->Add(mRows = safenew wxBoxSizer(wxVERTICAL), 0, wxEXPAND);
84 mainSizer->Add(
85 mAddNewLocation = safenew wxButton(this, wxID_ANY, _("Add new location")),
86 0, wxALL, 3
87 );
88 SetSizer(mainSizer.release());
89
90 mAddNewLocation->Bind(wxEVT_BUTTON, &EffectsLocationPanel::OnAddNewLocationClicked, this);
91 }
92
93 void AddLocation(const PluginPath& path, bool setFocus = false)
94 {

Callers

nothing calls this directly

Calls 5

BindMethod · 0.80
wxButtonClass · 0.70
wxBoxSizerClass · 0.50
AddMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected