mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-21 16:11:11 +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:
69
src/toolbars/DeviceToolBar.h
Normal file
69
src/toolbars/DeviceToolBar.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/**********************************************************************
|
||||
|
||||
Audacity: A Digital Audio Editor
|
||||
|
||||
DeviceToolbar.h
|
||||
|
||||
Dominic Mazzoni
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_DEVICE_TOOLBAR__
|
||||
#define __AUDACITY_DEVICE_TOOLBAR__
|
||||
|
||||
#include "ToolBar.h"
|
||||
|
||||
class wxImage;
|
||||
class wxSize;
|
||||
class wxPoint;
|
||||
class wxChoice;
|
||||
|
||||
class DeviceToolBar:public ToolBar {
|
||||
|
||||
public:
|
||||
|
||||
DeviceToolBar();
|
||||
virtual ~DeviceToolBar();
|
||||
|
||||
void Create(wxWindow * parent);
|
||||
|
||||
void RecreateTipWindows();
|
||||
void UpdatePrefs();
|
||||
|
||||
virtual void Populate();
|
||||
virtual void Repaint(wxDC *dc) {};
|
||||
virtual void EnableDisableButtons() {};
|
||||
|
||||
void OnFocus(wxFocusEvent &event);
|
||||
void OnCaptureKey(wxCommandEvent &event);
|
||||
|
||||
void OnChoice(wxCommandEvent & event);
|
||||
|
||||
private:
|
||||
void RegenerateTooltips();
|
||||
|
||||
wxBitmap *mPlayBitmap;
|
||||
wxBitmap *mRecordBitmap;
|
||||
|
||||
wxChoice *mInput;
|
||||
wxChoice *mOutput;
|
||||
|
||||
public:
|
||||
|
||||
DECLARE_CLASS(DeviceToolBar);
|
||||
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