1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-17 08:17:59 +01:00
Files
audacity/modules/mod-track-panel/TrackPanel2.h
Leland Lucius 30dbdf40a9 Cleaning up lib-src
FileDialog goes into audacity/src/widgets and the mod-* directories go into
audacity/modules.

This leaves nothing in lib-src that isn't a 3rd-party libs or supporting
files.
2020-05-24 16:21:26 -05:00

45 lines
1011 B
C++

/**********************************************************************
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