mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 15:45:54 +01:00
Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches
This commit is contained in:
84
src/toolbars/MixerToolBar.h
Normal file
84
src/toolbars/MixerToolBar.h
Normal file
@@ -0,0 +1,84 @@
|
||||
/**********************************************************************
|
||||
|
||||
Audacity: A Digital Audio Editor
|
||||
|
||||
MixerToolbar.h
|
||||
|
||||
Dominic Mazzoni
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_MIXER_TOOLBAR__
|
||||
#define __AUDACITY_MIXER_TOOLBAR__
|
||||
|
||||
#include "ToolBar.h"
|
||||
|
||||
class wxImage;
|
||||
class wxSize;
|
||||
class wxPoint;
|
||||
class wxChoice;
|
||||
class wxStaticBitmap;
|
||||
|
||||
class ASlider;
|
||||
|
||||
class MixerToolBar:public ToolBar {
|
||||
|
||||
public:
|
||||
|
||||
MixerToolBar();
|
||||
virtual ~MixerToolBar();
|
||||
|
||||
void Create(wxWindow * parent);
|
||||
|
||||
void RecreateTipWindows();
|
||||
void UpdatePrefs();
|
||||
void UpdateControls();
|
||||
void SetMixer(wxCommandEvent &event);
|
||||
|
||||
virtual void Populate();
|
||||
virtual void Repaint(wxDC *dc) {};
|
||||
virtual void EnableDisableButtons() {};
|
||||
|
||||
void OnFocus(wxFocusEvent &event);
|
||||
void OnCaptureKey(wxCommandEvent &event);
|
||||
|
||||
void OnSlider(wxCommandEvent & event);
|
||||
|
||||
void ShowOutputGainDialog();
|
||||
void ShowInputGainDialog();
|
||||
void ShowInputSourceDialog();
|
||||
|
||||
void AdjustOutputGain(int adj);
|
||||
void AdjustInputGain(int adj);
|
||||
|
||||
private:
|
||||
|
||||
void InitializeMixerToolBar();
|
||||
|
||||
wxBitmap *mPlayBitmap;
|
||||
wxBitmap *mRecordBitmap;
|
||||
|
||||
ASlider *mInputSlider;
|
||||
ASlider *mOutputSlider;
|
||||
|
||||
wxChoice *mInputSourceChoice;
|
||||
|
||||
public:
|
||||
|
||||
DECLARE_CLASS(MixerToolBar);
|
||||
DECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
// Indentation settings for Vim and Emacs and unique identifier for Arch, a
|
||||
// version control system. Please do not modify past this point.
|
||||
//
|
||||
// Local Variables:
|
||||
// c-basic-offset: 3
|
||||
// indent-tabs-mode: nil
|
||||
// End:
|
||||
//
|
||||
// vim: et sts=3 sw=3
|
||||
// arch-tag: 3acba542-52ae-44eb-b0b3-e0645587b5c0
|
||||
|
||||
Reference in New Issue
Block a user