Audacity  3.0.3
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 }
 

Detailed Description

Definition at line 54 of file PrefsPanel.h.

Member Typedef Documentation

◆ Factory

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

Definition at line 55 of file PrefsPanel.h.

Constructor & Destructor Documentation

◆ PrefsNode()

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

Definition at line 62 of file PrefsPanel.h.

65  : factory(factory_), nChildren(nChildren_), expanded(expanded_)
66  {}

Member Data Documentation

◆ expanded

bool PrefsPanel::PrefsNode::expanded { false }

Definition at line 60 of file PrefsPanel.h.

◆ factory

Factory PrefsPanel::PrefsNode::factory

Definition at line 58 of file PrefsPanel.h.

◆ nChildren

size_t PrefsPanel::PrefsNode::nChildren { 0 }

Definition at line 59 of file PrefsPanel.h.


The documentation for this struct was generated from the following file:
PrefsPanel::PrefsNode::expanded
bool expanded
Definition: PrefsPanel.h:60
PrefsPanel::PrefsNode::nChildren
size_t nChildren
Definition: PrefsPanel.h:59
PrefsPanel::PrefsNode::factory
Factory factory
Definition: PrefsPanel.h:58