Audacity  2.2.0
MixerTrackCluster Class Referencefinal

#include <MixerBoard.h>

Inheritance diagram for MixerTrackCluster:
wxTabTraversalWrapper< Base >

Public Member Functions

 MixerTrackCluster (wxWindow *parent, MixerBoard *grandParent, AudacityProject *project, PlayableTrack *pTrack, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
 
virtual ~MixerTrackCluster ()
 
WaveTrackGetWave () const
 
WaveTrackGetRight () const
 
void UpdatePrefs ()
 
void HandleResize ()
 
void HandleSliderGain (const bool bWantPushState=false)
 
void HandleSliderPan (const bool bWantPushState=false)
 
void ResetMeter (const bool bResetClipping)
 
void UpdateForStateChange ()
 
void UpdateName ()
 
void UpdateMute ()
 
void UpdateSolo ()
 
void UpdatePan ()
 
void UpdateGain ()
 
void UpdateMeter (const double t0, const double t1)
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Public Attributes

PlayableTrackmTrack
 

Private Member Functions

wxColour GetTrackColor ()
 
void HandleSelect (bool bShiftDown, bool bControlDown)
 
void OnKeyEvent (wxKeyEvent &event)
 
void OnMouseEvent (wxMouseEvent &event)
 
void OnPaint (wxPaintEvent &evt)
 
void OnButton_MusicalInstrument (wxCommandEvent &event)
 
void OnSlider_Gain (wxCommandEvent &event)
 
void OnSlider_Pan (wxCommandEvent &event)
 
void OnButton_Mute (wxCommandEvent &event)
 
void OnButton_Solo (wxCommandEvent &event)
 

Private Attributes

MixerBoardmMixerBoard
 
AudacityProjectmProject
 
auStaticTextmStaticText_TrackName
 
wxBitmapButton * mBitmapButton_MusicalInstrument
 
AButtonmToggleButton_Mute
 
AButtonmToggleButton_Solo
 
MixerTrackSlidermSlider_Pan
 
MixerTrackSlidermSlider_Gain
 
MetermMeter
 

Constructor & Destructor Documentation

MixerTrackCluster::MixerTrackCluster ( wxWindow *  parent,
MixerBoard grandParent,
AudacityProject project,
PlayableTrack pTrack,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize 
)
virtual MixerTrackCluster::~MixerTrackCluster ( )
inlinevirtual

Member Function Documentation

WaveTrack * MixerTrackCluster::GetRight ( ) const

References GetWave().

Referenced by HandleSliderGain(), HandleSliderPan(), and UpdateMeter().

wxColour MixerTrackCluster::GetTrackColor ( )
private
WaveTrack * MixerTrackCluster::GetWave ( ) const
void MixerTrackCluster::HandleSelect ( bool  bShiftDown,
bool  bControlDown 
)
private
void MixerTrackCluster::HandleSliderGain ( const bool  bWantPushState = false)
void MixerTrackCluster::HandleSliderPan ( const bool  bWantPushState = false)
void MixerTrackCluster::OnButton_MusicalInstrument ( wxCommandEvent &  event)
private

References HandleSelect().

void MixerTrackCluster::OnKeyEvent ( wxKeyEvent &  event)
private
void MixerTrackCluster::OnMouseEvent ( wxMouseEvent &  event)
private

References HandleSelect().

void MixerTrackCluster::OnPaint ( wxPaintEvent &  evt)
private
void MixerTrackCluster::OnSlider_Gain ( wxCommandEvent &  event)
private

References HandleSliderGain().

void MixerTrackCluster::OnSlider_Pan ( wxCommandEvent &  event)
private

References HandleSliderPan().

void MixerTrackCluster::ResetMeter ( const bool  bResetClipping)

References GetWave(), mMeter, and Meter::Reset().

Referenced by UpdateMeter().

void MixerTrackCluster::UpdateForStateChange ( )
void MixerTrackCluster::UpdateGain ( )
void MixerTrackCluster::UpdatePan ( )
void MixerTrackCluster::UpdatePrefs ( )

Member Data Documentation

wxBitmapButton* MixerTrackCluster::mBitmapButton_MusicalInstrument
private

Referenced by UpdateName().

Meter* MixerTrackCluster::mMeter
private
MixerBoard* MixerTrackCluster::mMixerBoard
private
MixerTrackSlider* MixerTrackCluster::mSlider_Gain
private
MixerTrackSlider* MixerTrackCluster::mSlider_Pan
private

Referenced by HandleSliderPan(), and UpdatePan().

auStaticText* MixerTrackCluster::mStaticText_TrackName
private
AButton* MixerTrackCluster::mToggleButton_Mute
private
AButton* MixerTrackCluster::mToggleButton_Solo
private

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