Audacity  2.2.0
TracksPrefs Class Referencefinal

A PrefsPanel for track display and behavior properties. More...

#include <TracksPrefs.h>

Inheritance diagram for TracksPrefs:
PrefsPanel wxTabTraversalWrapper< Base >

Public Member Functions

 TracksPrefs (wxWindow *parent)
 
 ~TracksPrefs ()
 
bool Commit () override
 
wxString HelpPageName () override
 
- Public Member Functions inherited from PrefsPanel
 PrefsPanel (wxWindow *parent, const wxString &title)
 
virtual ~PrefsPanel ()
 
virtual void Preview ()
 
virtual bool ShowsPreviewButton ()
 
virtual void Cancel ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Static Public Member Functions

static bool GetPinnedHeadPreference ()
 
static void SetPinnedHeadPreference (bool value, bool flush=false)
 
static wxString GetDefaultAudioTrackNamePreference ()
 

Private Member Functions

void Populate ()
 
void PopulateOrExchange (ShuttleGui &S)
 

Private Attributes

wxArrayInt mViewCodes
 
wxArrayString mViewChoices
 
wxArrayInt mSampleDisplayCodes
 
wxArrayString mSampleDisplayChoice
 

Static Private Attributes

static int iPreferencePinned = -1
 

Detailed Description

A PrefsPanel for track display and behavior properties.

Constructor & Destructor Documentation

TracksPrefs::TracksPrefs ( wxWindow *  parent)
TracksPrefs::~TracksPrefs ( )

Member Function Documentation

bool TracksPrefs::Commit ( )
overridevirtual
wxString TracksPrefs::GetDefaultAudioTrackNamePreference ( )
static

References _(), gPrefs, and name.

Referenced by ControlToolBar::OnRecord(), and WaveTrack::WaveTrack().

wxString TracksPrefs::HelpPageName ( )
overridevirtual

Reimplemented from PrefsPanel.

void TracksPrefs::SetPinnedHeadPreference ( bool  value,
bool  flush = false 
)
static

Member Data Documentation

int TracksPrefs::iPreferencePinned = -1
staticprivate
wxArrayString TracksPrefs::mSampleDisplayChoice
private

Referenced by Populate(), and PopulateOrExchange().

wxArrayInt TracksPrefs::mSampleDisplayCodes
private

Referenced by Populate(), and PopulateOrExchange().

wxArrayString TracksPrefs::mViewChoices
private

Referenced by Populate(), and PopulateOrExchange().

wxArrayInt TracksPrefs::mViewCodes
private

Referenced by Populate(), and PopulateOrExchange().


The documentation for this class was generated from the following files: