File: TrackPanel2.h

package info (click to toggle)
audacity 2.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 86,844 kB
  • sloc: ansic: 225,005; cpp: 221,240; sh: 27,327; python: 16,896; makefile: 8,186; lisp: 8,002; perl: 317; xml: 307; sed: 16
file content (44 lines) | stat: -rw-r--r-- 1,055 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**********************************************************************

  Audacity: A Digital Audio Editor

  TrackPanel2.h

  James Crook

**********************************************************************/

#ifndef __AUDACITY_TRACK_PANEL2__
#define __AUDACITY_TRACK_PANEL2__

#include "TrackPanel.h"

class TrackPanel2 : public TrackPanel
{
public:
   TrackPanel2( 
      wxWindow * parent, wxWindowID id,
      const wxPoint & pos,
      const wxSize & size,
      TrackList * tracks,
      ViewInfo * viewInfo,
      TrackPanelListener * listener,
      AdornedRulerPanel * ruler);

   // Upgrades an existing TrackPanel to a TrackPanel2
   static void Upgrade( TrackPanel ** ppTrackPanel );

   virtual void OnPaint(wxPaintEvent & event);
};

// Factory function.
TrackPanel * TrackPanel2Factory(wxWindow * parent,
   wxWindowID id,
   const wxPoint & pos,
   const wxSize & size,
   TrackList * tracks,
   ViewInfo * viewInfo,
   TrackPanelListener * listener,
   AdornedRulerPanel * ruler);

#endif