Audacity  2.2.2
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
MixerToolBar Class Referencefinal

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

#include <MixerToolBar.h>

Inheritance diagram for MixerToolBar:
ToolBar wxPanelWrapper wxTabTraversalWrapper< wxPanel >

Public Member Functions

 MixerToolBar ()
 Methods for MixerToolBar. More...
 
virtual ~MixerToolBar ()
 
void Create (wxWindow *parent) override
 
void UpdatePrefs () override
 
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) override
 
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 these. More...
 
virtual int GetMinToolbarWidth ()
 
virtual wxSize GetDockedSize ()
 
- Public Member Functions inherited from wxPanelWrapper
 wxPanelWrapper ()
 
 wxPanelWrapper (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const wxString &name=_("Panel"))
 
bool Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const wxString &name=_("Panel"))
 
- Public Member Functions inherited from wxTabTraversalWrapper< wxPanel >
 wxTabTraversalWrapper (Args &&...args)
 
 wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete
 
 wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete
 
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
 
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete
 

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 eDownHi, 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 eDownHi, teBmps eStandardUp, teBmps eStandardDown, teBmps eDisabled, wxSize size)
 
static void SetButtonToolTip (AButton &button, const TranslatedInternalString commands[], size_t nCommands)
 
- 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.

Definition at line 25 of file MixerToolBar.h.

Constructor & Destructor Documentation

MixerToolBar::MixerToolBar ( )

Methods for MixerToolBar.

Definition at line 58 of file MixerToolBar.cpp.

59 : ToolBar(MixerBarID, _("Mixer"), wxT("Mixer"))
60 {
61  mInputSliderVolume = 0.0;
62  mOutputSliderVolume = 0.0;
63 }
float mInputSliderVolume
Definition: MixerToolBar.h:53
float mOutputSliderVolume
Definition: MixerToolBar.h:57
_("Move Track &Down")+wxT("\t")+(GetActiveProject() -> GetCommandManager() ->GetKeyFromName(wxT("TrackMoveDown")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveTopID, _("Move Track to &Top")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveTop")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveBottomID, _("Move Track to &Bottom")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveBottom")).Raw()), OnMoveTrack)#define SET_TRACK_NAME_PLUGIN_SYMBOLclass SetTrackNameCommand:public AudacityCommand
ToolBar(int type, const wxString &label, const wxString &section, bool resizable=false)
Definition: ToolBar.cpp:311
MixerToolBar::~MixerToolBar ( )
virtual

Definition at line 65 of file MixerToolBar.cpp.

66 {
67 }

Member Function Documentation

void MixerToolBar::AdjustInputGain ( int  adj)

Definition at line 261 of file MixerToolBar.cpp.

References ASlider::Decrease(), ASlider::Increase(), mInputSlider, SetMixer(), and UpdateControls().

Referenced by AudacityProject::OnInputGainDec(), and AudacityProject::OnInputGainInc().

262 {
263  if (adj < 0) {
264  mInputSlider->Decrease(-adj);
265  }
266  else {
267  mInputSlider->Increase(adj);
268  }
269  wxCommandEvent e;
270  SetMixer(e);
271  UpdateControls();
272 }
ASlider * mInputSlider
Definition: MixerToolBar.h:64
void SetMixer(wxCommandEvent &event)
void UpdateControls()
void Increase(float steps)
Definition: ASlider.cpp:1577
void Decrease(float steps)
Definition: ASlider.cpp:1582
void MixerToolBar::AdjustOutputGain ( int  adj)

Definition at line 248 of file MixerToolBar.cpp.

References ASlider::Decrease(), ASlider::Increase(), mOutputSlider, SetMixer(), and UpdateControls().

Referenced by AudacityProject::OnOutputGainDec(), and AudacityProject::OnOutputGainInc().

249 {
250  if (adj < 0) {
251  mOutputSlider->Decrease(-adj);
252  }
253  else {
254  mOutputSlider->Increase(adj);
255  }
256  wxCommandEvent e;
257  SetMixer(e);
258  UpdateControls();
259 }
ASlider * mOutputSlider
Definition: MixerToolBar.h:65
void SetMixer(wxCommandEvent &event)
void UpdateControls()
void Increase(float steps)
Definition: ASlider.cpp:1577
void Decrease(float steps)
Definition: ASlider.cpp:1582
void MixerToolBar::Create ( wxWindow *  parent)
overridevirtual

Reimplemented from ToolBar.

Definition at line 69 of file MixerToolBar.cpp.

References ToolBar::Create().

70 {
71  ToolBar::Create(parent);
72 }
virtual void Create(wxWindow *parent)
Definition: ToolBar.cpp:442
void MixerToolBar::EnableDisableButtons ( )
inlineoverridevirtual

Implements ToolBar.

Definition at line 40 of file MixerToolBar.h.

40 {};
void MixerToolBar::InitializeMixerToolBar ( )
private
void MixerToolBar::OnCaptureKey ( wxCommandEvent &  event)

Definition at line 132 of file MixerToolBar.cpp.

References mInputSlider, and mOutputSlider.

133 {
134  wxKeyEvent *kevent = (wxKeyEvent *)event.GetEventObject();
135  int keyCode = kevent->GetKeyCode();
136 
137  // Pass LEFT/RIGHT/UP/DOWN/PAGEUP/PAGEDOWN through for input/output sliders
138  if (FindFocus() == mInputSlider && (keyCode == WXK_LEFT || keyCode == WXK_RIGHT
139  || keyCode == WXK_UP || keyCode == WXK_DOWN
140  || keyCode == WXK_PAGEUP || keyCode == WXK_PAGEDOWN)) {
141  return;
142  }
143  if (FindFocus() == mOutputSlider && (keyCode == WXK_LEFT || keyCode == WXK_RIGHT
144  || keyCode == WXK_UP || keyCode == WXK_DOWN
145  || keyCode == WXK_PAGEUP || keyCode == WXK_PAGEDOWN)) {
146  return;
147  }
148 
149  event.Skip();
150 
151  return;
152 }
ASlider * mInputSlider
Definition: MixerToolBar.h:64
ASlider * mOutputSlider
Definition: MixerToolBar.h:65
void MixerToolBar::OnFocus ( wxFocusEvent &  event)

Definition at line 118 of file MixerToolBar.cpp.

References AudacityProject::CaptureKeyboard(), and AudacityProject::ReleaseKeyboard().

Referenced by Populate().

119 {
120  if (event.GetEventType() == wxEVT_KILL_FOCUS) {
122  }
123  else {
125  }
126 
127  Refresh(false);
128 
129  event.Skip();
130 }
static void CaptureKeyboard(wxWindow *handler)
Definition: Project.cpp:5961
static void ReleaseKeyboard(wxWindow *handler)
Definition: Project.cpp:5972
void MixerToolBar::OnSlider ( wxCommandEvent &  event)
void MixerToolBar::Populate ( )
overridevirtual

Implements ToolBar.

Definition at line 74 of file MixerToolBar.cpp.

References _(), ToolBar::Add(), ThemeBase::Bitmap(), ThemeBase::Colour(), ASlider::Enable(), gAudioIO, AudioIO::InputMixerWorks(), ASlider::Options::Line(), mInputSlider, mOutputSlider, OnFocus(), ASlider::Options::Page(), safenew, theTheme, and UpdateControls().

75 {
76  SetBackgroundColour( theTheme.Colour( clrMedium ) );
77  // Recording icon and slider
79  wxID_ANY,
80  theTheme.Bitmap(bmpMic)), 0, wxALIGN_CENTER);
81  mInputSlider = safenew ASlider(this, wxID_ANY, _("Recording Volume"),
82  wxDefaultPosition, wxSize(130, 25),
83  ASlider::Options{}.Line( 0.1f ).Page( 2.0f ));
84  Add(mInputSlider, 0, wxALIGN_CENTER);
85 
86  // Playback icon and slider
88  wxID_ANY,
89  theTheme.Bitmap(bmpSpeaker)), 0, wxALIGN_CENTER);
90  mOutputSlider = safenew ASlider(this, wxID_ANY, _("Playback Volume"),
91  wxDefaultPosition, wxSize(130, 25),
92  ASlider::Options{}.Line( 0.1f ).Page( 2.0f ));
93  Add(mOutputSlider, 0, wxALIGN_CENTER);
94 
95  // this bit taken from SelectionBar::Populate()
96  mInputSlider->Bind(wxEVT_SET_FOCUS,
98  this);
99  mInputSlider->Bind(wxEVT_KILL_FOCUS,
101  this);
102  mOutputSlider->Bind(wxEVT_SET_FOCUS,
104  this);
105  mOutputSlider->Bind(wxEVT_KILL_FOCUS,
107  this);
108  // Show or hide the input slider based on whether it works
110 
111  UpdateControls();
112 
113  // Add a little space
114  Add(2, -1);
115 }
AUDACITY_DLL_API Theme theTheme
Definition: Theme.cpp:209
ASlider * mInputSlider
Definition: MixerToolBar.h:64
ASlider * mOutputSlider
Definition: MixerToolBar.h:65
bool InputMixerWorks()
Find out if the input hardware level control is available.
Definition: AudioIO.cpp:1388
#define safenew
Definition: Audacity.h:230
Options & Page(float p)
Definition: ASlider.h:268
wxBitmap & Bitmap(int iIndex)
Definition: Theme.cpp:1244
void Add(wxWindow *window, int proportion=0, int flag=wxALIGN_TOP, int border=0, wxObject *userData=NULL)
Definition: ToolBar.cpp:615
Options & Line(float l)
Definition: ASlider.h:267
bool Enable(bool enable=true) override
Definition: ASlider.cpp:1597
_("Move Track &Down")+wxT("\t")+(GetActiveProject() -> GetCommandManager() ->GetKeyFromName(wxT("TrackMoveDown")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveTopID, _("Move Track to &Top")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveTop")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveBottomID, _("Move Track to &Bottom")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveBottom")).Raw()), OnMoveTrack)#define SET_TRACK_NAME_PLUGIN_SYMBOLclass SetTrackNameCommand:public AudacityCommand
void UpdateControls()
AudioIO * gAudioIO
Definition: AudioIO.cpp:482
ASlider is a custom slider, allowing for a slicker look and feel.
Definition: ASlider.h:243
wxColour & Colour(int iIndex)
Definition: Theme.cpp:1225
void OnFocus(wxFocusEvent &event)
void MixerToolBar::RegenerateTooltips ( )
inlineoverridevirtual

Implements ToolBar.

Definition at line 53 of file MixerToolBar.h.

Referenced by UpdatePrefs().

53 {};
void MixerToolBar::Repaint ( wxDC *  WXUNUSEDdc)
inlineoverride

Definition at line 39 of file MixerToolBar.h.

39 {};
void MixerToolBar::SetMixer ( wxCommandEvent &  event)

Definition at line 216 of file MixerToolBar.cpp.

References gAudioIO, ASlider::Get(), AudioIO::GetMixer(), mInputSlider, mInputSliderVolume, mOutputSlider, mOutputSliderVolume, AudioIO::SetMixer(), and SetToolTips().

Referenced by AdjustInputGain(), AdjustOutputGain(), ShowInputGainDialog(), and ShowOutputGainDialog().

217 {
218 #if USE_PORTMIXER
219  float inputVolume = mInputSlider->Get();
220  float outputVolume = mOutputSlider->Get();
221  float oldIn, oldOut;
222  int inputSource;
223 
224  gAudioIO->GetMixer(&inputSource, &oldIn, &oldOut);
225  gAudioIO->SetMixer(inputSource, inputVolume, outputVolume);
226  mOutputSliderVolume = outputVolume;
227  mInputSliderVolume = inputVolume;
228  SetToolTips();
229 #endif // USE_PORTMIXER
230 }
ASlider * mInputSlider
Definition: MixerToolBar.h:64
float mInputSliderVolume
Definition: MixerToolBar.h:53
float Get(bool convert=true)
Definition: ASlider.cpp:1567
float mOutputSliderVolume
Definition: MixerToolBar.h:57
ASlider * mOutputSlider
Definition: MixerToolBar.h:65
void GetMixer(int *inputSource, float *inputVolume, float *playbackVolume)
Definition: AudioIO.cpp:1357
void SetMixer(int inputSource)
Definition: AudioIO.cpp:1325
AudioIO * gAudioIO
Definition: AudioIO.cpp:482
void SetToolTips()
void MixerToolBar::SetToolTips ( )
private

Definition at line 274 of file MixerToolBar.cpp.

References _(), format, gAudioIO, ASlider::IsEnabled(), mInputSlider, mOutputSlider, AudioIO::OutputMixerEmulated(), and ASlider::SetToolTipTemplate().

Referenced by SetMixer(), and UpdateControls().

275 {
276  if (mInputSlider->IsEnabled()) {
277  mInputSlider->SetToolTipTemplate(_("Recording Volume: %.2f"));
278  }
279  else {
280  mInputSlider->SetToolTipTemplate(_("Recording Volume (Unavailable; use system mixer.)"));
281  }
282 
283  if (mOutputSlider->IsEnabled()) {
284  wxString format;
286  format = _("Playback Volume: %s (emulated)");
287  else
288  format = _("Playback Volume: %s");
289 
291  wxString::Format( format, "%.2f" ) );
292  }
293  else {
294  mOutputSlider->SetToolTipTemplate(_("Playback Volume (Unavailable; use system mixer.)"));
295  }
296 }
bool OutputMixerEmulated()
Find out if the output level control is being emulated via software attenuation.
Definition: AudioIO.cpp:1393
ASlider * mInputSlider
Definition: MixerToolBar.h:64
bool IsEnabled() const
Definition: ASlider.cpp:1609
void SetToolTipTemplate(const wxString &tip)
Definition: ASlider.cpp:1562
ASlider * mOutputSlider
Definition: MixerToolBar.h:65
int format
Definition: ExportPCM.cpp:56
_("Move Track &Down")+wxT("\t")+(GetActiveProject() -> GetCommandManager() ->GetKeyFromName(wxT("TrackMoveDown")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveTopID, _("Move Track to &Top")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveTop")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveBottomID, _("Move Track to &Bottom")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveBottom")).Raw()), OnMoveTrack)#define SET_TRACK_NAME_PLUGIN_SYMBOLclass SetTrackNameCommand:public AudacityCommand
AudioIO * gAudioIO
Definition: AudioIO.cpp:482
void MixerToolBar::ShowInputGainDialog ( )

Definition at line 240 of file MixerToolBar.cpp.

References mInputSlider, SetMixer(), ASlider::ShowDialog(), and UpdateControls().

Referenced by AudacityProject::OnInputGain().

241 {
243  wxCommandEvent e;
244  SetMixer(e);
245  UpdateControls();
246 }
ASlider * mInputSlider
Definition: MixerToolBar.h:64
void SetMixer(wxCommandEvent &event)
void UpdateControls()
bool ShowDialog(wxPoint pos=wxPoint(-1,-1))
Definition: ASlider.cpp:1587
void MixerToolBar::ShowOutputGainDialog ( )

Definition at line 232 of file MixerToolBar.cpp.

References mOutputSlider, SetMixer(), ASlider::ShowDialog(), and UpdateControls().

Referenced by AudacityProject::OnOutputGain().

233 {
235  wxCommandEvent e;
236  SetMixer(e);
237  UpdateControls();
238 }
ASlider * mOutputSlider
Definition: MixerToolBar.h:65
void SetMixer(wxCommandEvent &event)
void UpdateControls()
bool ShowDialog(wxPoint pos=wxPoint(-1,-1))
Definition: ASlider.cpp:1587
void MixerToolBar::UpdateControls ( )

Definition at line 190 of file MixerToolBar.cpp.

References ASlider::Enable(), gAudioIO, ASlider::Get(), AudioIO::GetMixer(), AudioIO::InputMixerWorks(), mInputSlider, mInputSliderVolume, mOutputSlider, mOutputSliderVolume, ASlider::Set(), and SetToolTips().

Referenced by AdjustInputGain(), AdjustOutputGain(), AudacityProject::OnTimer(), Populate(), ShowInputGainDialog(), and ShowOutputGainDialog().

191 {
192 #if USE_PORTMIXER
193  float inputVolume;
194  float playbackVolume;
195  int inputSource;
196 
197  // Show or hide the input slider based on whether it works
199 
200  gAudioIO->GetMixer(&inputSource, &inputVolume, &playbackVolume);
201 
202  if (mOutputSlider->Get() != playbackVolume) {
203  mOutputSlider->Set(playbackVolume);
204  mOutputSliderVolume = playbackVolume;
205  SetToolTips();
206  }
207 
208  if (mInputSlider->Get() != inputVolume) {
209  mInputSlider->Set(inputVolume);
210  mInputSliderVolume = inputVolume;
211  SetToolTips();
212  }
213 #endif // USE_PORTMIXER
214 }
ASlider * mInputSlider
Definition: MixerToolBar.h:64
float mInputSliderVolume
Definition: MixerToolBar.h:53
float Get(bool convert=true)
Definition: ASlider.cpp:1567
float mOutputSliderVolume
Definition: MixerToolBar.h:57
ASlider * mOutputSlider
Definition: MixerToolBar.h:65
bool InputMixerWorks()
Find out if the input hardware level control is available.
Definition: AudioIO.cpp:1388
void GetMixer(int *inputSource, float *inputVolume, float *playbackVolume)
Definition: AudioIO.cpp:1357
void Set(float value)
Definition: ASlider.cpp:1572
bool Enable(bool enable=true) override
Definition: ASlider.cpp:1597
AudioIO * gAudioIO
Definition: AudioIO.cpp:482
void SetToolTips()
void MixerToolBar::UpdatePrefs ( )
overridevirtual

Reimplemented from ToolBar.

Definition at line 154 of file MixerToolBar.cpp.

References _(), ASlider::Enable(), gAudioIO, AudioIO::GetMixer(), AudioIO::InputMixerWorks(), mInputSlider, RegenerateTooltips(), ToolBar::SetLabel(), ToolBar::Updated(), and ToolBar::UpdatePrefs().

155 {
156 #if USE_PORTMIXER
157  float inputVolume;
158  float playbackVolume;
159  int inputSource;
160 
161  // Reset the selected source
162  gAudioIO->GetMixer(&inputSource, &inputVolume, &playbackVolume);
163 
164  // Show or hide the input slider based on whether it works
166 
167  // Layout the toolbar
168  Layout();
169 
170  // Resize the toolbar to fit the contents
171  Fit();
172 
173  // And make that size the minimum
174  SetMinSize( wxWindow::GetSizer()->GetMinSize() );
175  SetSize( GetMinSize() );
176 
177  // Notify someone that we've changed our size
178  Updated();
179 #endif
180 
181  // Set label to pull in language change
182  SetLabel(_("Mixer"));
183 
185 
186  // Give base class a chance
188 }
virtual void UpdatePrefs()
Definition: ToolBar.cpp:539
void SetLabel(const wxString &label) override
Definition: ToolBar.cpp:378
ASlider * mInputSlider
Definition: MixerToolBar.h:64
bool InputMixerWorks()
Find out if the input hardware level control is available.
Definition: AudioIO.cpp:1388
void GetMixer(int *inputSource, float *inputVolume, float *playbackVolume)
Definition: AudioIO.cpp:1357
void RegenerateTooltips() override
Definition: MixerToolBar.h:53
bool Enable(bool enable=true) override
Definition: ASlider.cpp:1597
void Updated()
Definition: ToolBar.cpp:596
_("Move Track &Down")+wxT("\t")+(GetActiveProject() -> GetCommandManager() ->GetKeyFromName(wxT("TrackMoveDown")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveTopID, _("Move Track to &Top")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveTop")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveBottomID, _("Move Track to &Bottom")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveBottom")).Raw()), OnMoveTrack)#define SET_TRACK_NAME_PLUGIN_SYMBOLclass SetTrackNameCommand:public AudacityCommand
AudioIO * gAudioIO
Definition: AudioIO.cpp:482

Member Data Documentation

ASlider* MixerToolBar::mInputSlider
private
float MixerToolBar::mInputSliderVolume
protected

Definition at line 53 of file MixerToolBar.h.

Referenced by SetMixer(), and UpdateControls().

ASlider* MixerToolBar::mOutputSlider
private
float MixerToolBar::mOutputSliderVolume
protected

Definition at line 57 of file MixerToolBar.h.

Referenced by SetMixer(), and UpdateControls().


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