~ubuntu-branches/ubuntu/gutsy/audacity/gutsy-security

« back to all changes in this revision

Viewing changes to src/toolbars/DeviceToolBar.h

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2007-05-17 02:36:41 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517023641-5yjqt9434cbcb6ph
Tags: 1.3.2-4
* debian/patches:
   - desktop_file.patch: fixed broken Category entry
* debian/audacity.mime:
   - added entry for application/x-audacity-project

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**********************************************************************
 
2
 
 
3
  Audacity: A Digital Audio Editor
 
4
 
 
5
  DeviceToolbar.h
 
6
 
 
7
  Dominic Mazzoni
 
8
 
 
9
**********************************************************************/
 
10
 
 
11
#ifndef __AUDACITY_DEVICE_TOOLBAR__
 
12
#define __AUDACITY_DEVICE_TOOLBAR__
 
13
 
 
14
#include "ToolBar.h"
 
15
 
 
16
class wxImage;
 
17
class wxSize;
 
18
class wxPoint;
 
19
class wxChoice;
 
20
 
 
21
class DeviceToolBar:public ToolBar {
 
22
 
 
23
 public:
 
24
 
 
25
   DeviceToolBar();
 
26
   virtual ~DeviceToolBar();
 
27
 
 
28
   void Create(wxWindow * parent);
 
29
 
 
30
   void RecreateTipWindows();
 
31
   void UpdatePrefs();
 
32
 
 
33
   virtual void Populate();
 
34
   virtual void Repaint(wxDC *dc) {};
 
35
   virtual void EnableDisableButtons() {};
 
36
 
 
37
   void OnChoice(wxCommandEvent & event);
 
38
 
 
39
 private:
 
40
 
 
41
   void InitializeDeviceToolBar();
 
42
 
 
43
   wxBitmap *mPlayBitmap;
 
44
   wxBitmap *mRecordBitmap;
 
45
 
 
46
   wxChoice *mInput;
 
47
   wxChoice *mOutput;
 
48
 
 
49
 public:
 
50
 
 
51
   DECLARE_CLASS(DeviceToolBar);
 
52
   DECLARE_EVENT_TABLE();
 
53
};
 
54
 
 
55
#endif
 
56
 
 
57
// Indentation settings for Vim and Emacs and unique identifier for Arch, a
 
58
// version control system. Please do not modify past this point.
 
59
//
 
60
// Local Variables:
 
61
// c-basic-offset: 3
 
62
// indent-tabs-mode: nil
 
63
// End:
 
64
//
 
65
// vim: et sts=3 sw=3
 
66
// arch-tag: 3acba542-52ae-44eb-b0b3-e0645587b5c0
 
67