Audacity  2.2.0
MixerToolBar Class Referencefinal

A ToolBar that provides the record and playback volume settings. More...

#include <MixerToolBar.h>

Inheritance diagram for MixerToolBar:
ToolBar wxTabTraversalWrapper< Base >

Public Member Functions

 MixerToolBar ()
 Methods for MixerToolBar. More...
 
virtual ~MixerToolBar ()
 
void Create (wxWindow *parent)
 
void UpdatePrefs ()
 
void UpdateControls ()
 
void SetMixer (wxCommandEvent &event)
 
void Populate () override
 
void Repaint (wxDC *WXUNUSED(dc)) override
 
void EnableDisableButtons () override
 
void OnFocus (wxFocusEvent &event)
 
void OnCaptureKey (wxCommandEvent &event)
 
void OnSlider (wxCommandEvent &event)
 
void ShowOutputGainDialog ()
 
void ShowInputGainDialog ()
 
void AdjustOutputGain (int adj)
 
void AdjustInputGain (int adj)
 
void RegenerateTooltips () override
 
- Public Member Functions inherited from ToolBar
 ToolBar (int type, const wxString &label, const wxString &section, bool resizable=false)
 
virtual ~ToolBar ()
 
bool AcceptsFocus () const override
 
virtual void ReCreateButtons ()
 
int GetType ()
 
wxString GetTitle ()
 
wxString GetLabel ()
 
wxString GetSection ()
 
ToolDockGetDock ()
 
void SetLabel (const wxString &label)
 
void SetDock (ToolDock *dock)
 
void SetDocked (ToolDock *dock, bool pushed)
 
virtual bool Expose (bool show=true)
 
bool IsResizable () const
 
bool IsVisible () const
 
bool IsDocked () const
 
bool IsPositioned ()
 
void SetVisible (bool bVisible)
 
void SetPositioned ()
 
virtual int GetInitialWidth ()
 Resizable toolbars should implement this. More...
 
virtual int GetMinToolbarWidth ()
 
virtual wxSize GetDockedSize ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Protected Attributes

float mInputSliderVolume
 
float mOutputSliderVolume
 
- Protected Attributes inherited from ToolBar
wxString mLabel
 
wxString mSection
 
int mType
 

Private Member Functions

void InitializeMixerToolBar ()
 
void SetToolTips ()
 

Private Attributes

ASlidermInputSlider
 
ASlidermOutputSlider
 

Additional Inherited Members

- Public Types inherited from ToolBar
using Holder = Destroy_ptr< ToolBar >
 
- Static Public Member Functions inherited from ToolBar
static AButtonMakeButton (wxWindow *parent, teBmps eUp, teBmps eDown, teBmps eHilite, teBmps eStandardUp, teBmps eStandardDown, teBmps eDisabled, wxWindowID id, wxPoint placement, bool processdownevents, wxSize size)
 
static void MakeAlternateImages (AButton &button, int idx, teBmps eUp, teBmps eDown, teBmps eHilite, teBmps eStandardUp, teBmps eStandardDown, teBmps eDisabled, wxSize size)
 
static void SetButtonToolTip (AButton &button, const std::vector< wxString > &commands)
 
- Protected Member Functions inherited from ToolBar
void SetButton (bool down, AButton *button)
 
void MakeMacRecoloredImage (teBmps eBmpOut, teBmps eBmpIn)
 
void MakeRecoloredImage (teBmps eBmpOut, teBmps eBmpIn)
 
void MakeButtonBackgroundsLarge ()
 
void MakeButtonBackgroundsSmall ()
 
wxBoxSizer * GetSizer ()
 
void Add (wxWindow *window, int proportion=0, int flag=wxALIGN_TOP, int border=0, wxObject *userData=NULL)
 
void Add (wxSizer *sizer, int proportion=0, int flag=0, int border=0, wxObject *userData=NULL)
 
void Add (int width, int height, int proportion=0, int flag=0, int border=0, wxObject *userData=NULL)
 
void AddSpacer (int size=14)
 
void AddStretchSpacer (int prop=1)
 
void Detach (wxWindow *window)
 
void Detach (wxSizer *sizer)
 
void Updated ()
 
int GetResizeGrabberWidth ()
 Returns the width in pixels of the resizer element. More...
 
virtual void Repaint (wxDC *dc)=0
 
void OnErase (wxEraseEvent &event)
 
void OnPaint (wxPaintEvent &event)
 
void OnMouseEvents (wxMouseEvent &event)
 

Detailed Description

A ToolBar that provides the record and playback volume settings.

Constructor & Destructor Documentation

MixerToolBar::MixerToolBar ( )

Methods for MixerToolBar.

MixerToolBar::~MixerToolBar ( )
virtual

Member Function Documentation

void MixerToolBar::AdjustInputGain ( int  adj)
void MixerToolBar::AdjustOutputGain ( int  adj)
void MixerToolBar::Create ( wxWindow *  parent)
virtual

Reimplemented from ToolBar.

References ToolBar::Create().

void MixerToolBar::EnableDisableButtons ( )
inlineoverridevirtual

Implements ToolBar.

void MixerToolBar::InitializeMixerToolBar ( )
private
void MixerToolBar::OnCaptureKey ( wxCommandEvent &  event)

References mInputSlider, and mOutputSlider.

void MixerToolBar::OnFocus ( wxFocusEvent &  event)
void MixerToolBar::OnSlider ( wxCommandEvent &  event)
void MixerToolBar::RegenerateTooltips ( )
inlineoverridevirtual

Implements ToolBar.

Referenced by UpdatePrefs().

void MixerToolBar::Repaint ( wxDC *  WXUNUSEDdc)
inlineoverride
void MixerToolBar::SetToolTips ( )
private
void MixerToolBar::ShowInputGainDialog ( )
void MixerToolBar::ShowOutputGainDialog ( )

Member Data Documentation

float MixerToolBar::mInputSliderVolume
protected

Referenced by SetMixer(), and UpdateControls().

float MixerToolBar::mOutputSliderVolume
protected

Referenced by SetMixer(), and UpdateControls().


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