Audacity 3.2.0
Public Types | Public Member Functions | Public Attributes | List of all members
PrefsPanel::PrefsNode Struct Reference

#include <PrefsPanel.h>

Public Types

using Factory = std::function< PrefsPanel *(wxWindow *parent, wxWindowID winid, AudacityProject *) >
 

Public Member Functions

 PrefsNode (const Factory &factory_, unsigned nChildren_=0, bool expanded_=true)
 

Public Attributes

Factory factory
 
size_t nChildren { 0 }
 
bool expanded { false }
 
bool enabled { true }
 

Detailed Description

Definition at line 56 of file PrefsPanel.h.

Member Typedef Documentation

◆ Factory

using PrefsPanel::PrefsNode::Factory = std::function< PrefsPanel * ( wxWindow *parent, wxWindowID winid, AudacityProject *) >

Definition at line 57 of file PrefsPanel.h.

Constructor & Destructor Documentation

◆ PrefsNode()

PrefsPanel::PrefsNode::PrefsNode ( const Factory factory_,
unsigned  nChildren_ = 0,
bool  expanded_ = true 
)
inline

Definition at line 65 of file PrefsPanel.h.

68 : factory(factory_), nChildren(nChildren_), expanded(expanded_)
69 {}

Member Data Documentation

◆ enabled

bool PrefsPanel::PrefsNode::enabled { true }
mutable

Definition at line 63 of file PrefsPanel.h.

◆ expanded

bool PrefsPanel::PrefsNode::expanded { false }

Definition at line 62 of file PrefsPanel.h.

◆ factory

Factory PrefsPanel::PrefsNode::factory

Definition at line 60 of file PrefsPanel.h.

◆ nChildren

size_t PrefsPanel::PrefsNode::nChildren { 0 }

Definition at line 61 of file PrefsPanel.h.


The documentation for this struct was generated from the following file: