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

Method AddLoadingPage

modules/sharing/mod-musehub-ui/GetEffectsDialog.cpp:178–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void GetEffectsDialog::AddLoadingPage() {
179 wxPanel* page = safenew wxPanel();
180 page->Hide();
181 page->Create(m_treebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE);
182
183 wxBoxSizer* sizer = safenew wxBoxSizer(wxVERTICAL);
184 page->SetSizer(sizer);
185 sizer->AddSpacer(20);
186
187 wxStaticText* title = safenew wxStaticText(page, wxID_ANY, loadingPluginsText.Translation());
188 wxFont font = title->GetFont().MakeLarger().MakeBold();
189 title->SetFont(font);
190
191 sizer->Add(title, 0, wxALIGN_CENTER_HORIZONTAL);
192
193 m_treebook->AddPage(page, loadingPluginsTabText.Translation());
194}
195
196void GetEffectsDialog::AddBecomeAPartnerPage() {
197 wxPanel* page = safenew wxPanel();

Callers

nothing calls this directly

Calls 10

AddSpacerMethod · 0.80
TranslationMethod · 0.80
SetFontMethod · 0.80
wxPanelClass · 0.50
wxBoxSizerClass · 0.50
wxStaticTextClass · 0.50
HideMethod · 0.45
CreateMethod · 0.45
GetFontMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected