27 , expanded{ expanded }
34{
return XO(
"Audacity");}
37{
return AUDACITY_VERSION_STRING;}
80 wxT(
"Device,Playback,Recording,Quality,GUI,Tracks,ImportExport,Directories,Warnings,Effects,KeyConfig,Mouse")
82 {
wxT(
"/Tracks"),
wxT(
"TracksBehaviors,Spectrum")},
87 static std::once_flag
flag;
89 std::call_once(
flag, []{
91 std::vector<size_t> childCounts;
92 std::vector<size_t> indices;
93 childCounts.push_back(0);
101 indices.push_back(factories.size());
103 ++childCounts.back();
104 childCounts.push_back(0);
110 auto &
factory = factories[indices.back()];
111 factory.nChildren = childCounts.back();
112 childCounts.pop_back();
116 sFactories.swap(factories);
wxString PluginPath
type alias for identifying a Plugin supplied by a module, each module defining its own interpretation...
static const auto PathStart
#define BUILTIN_PREFS_PANEL_PREFIX
virtual ComponentInterfaceSymbol GetSymbol() const =0
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
const wxString & Internal() const
virtual ManualPageID HelpPageName()
If not empty string, the Help button is added below the panel.
std::function< PrefsPanel *(wxWindow *parent, wxWindowID winid, AudacityProject *) > Factory
virtual bool ShowsPreviewButton()
virtual VendorSymbol GetVendor() const override
virtual wxString GetVersion() const override
static Factories & DefaultFactories()
std::vector< PrefsPanel::PrefsNode > Factories
virtual PluginPath GetPath() const override
constexpr auto NoOp
Supply this when one member of a visitor function triple isn't needed.
void Visit(const Visitors &visitors, const GroupItem< RegistryTraits > *pTopItem, const GroupItem< RegistryTraits > *pRegistry={}, typename RegistryTraits::ComputedItemContextType &computedItemContext=RegistryTraits::ComputedItemContextType::Instance)
PrefsPanel::Factory factory
static Registry::GroupItem< Traits > & Registry()
PrefsItem(const wxString &name, const PrefsPanel::Factory &factory, bool expanded)
Registration(const wxString &name, const Factory &factory, bool expanded=true, const Registry::Placement &placement={ wxEmptyString, {} })