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

Method Populate

src/prefs/SpectrumPrefs.cpp:107–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105};
106
107void SpectrumPrefs::Populate(size_t windowSize)
108{
109 PopulatePaddingChoices(windowSize);
110
111 for (int i = 0; i < NumWindowFuncs(); i++) {
112 mTypeChoices.push_back( WindowFuncName(i) );
113 }
114
115 //------------------------- Main section --------------------
116 // Now construct the GUI itself.
117 ShuttleGui S(this, eIsCreatingFromPrefs);
118 PopulateOrExchange(S);
119 // ----------------------- End of main section --------------
120}
121
122void SpectrumPrefs::PopulatePaddingChoices(size_t windowSize)
123{

Callers

nothing calls this directly

Calls 4

NumWindowFuncsFunction · 0.85
WindowFuncNameFunction · 0.85
PopulateOrExchangeFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected