Audacity 3.2.0
PlayableTrackControls.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 PlayableTrackControls.cpp
6
7 Paul Licameli split from TrackInfo.cpp
8
9 **********************************************************************/
10
11#ifndef __AUDACITY_PLAYABLE_TRACK_CONTROLS__
12#define __AUDACITY_PLAYABLE_TRACK_CONTROLS__
13
14#include "../../ui/CommonTrackControls.h"
15
16class wxRect;
17class Track;
18
19class AUDACITY_DLL_API PlayableTrackControls /* not final */
20 : public CommonTrackControls
21{
22public:
23 // To help subclasses define GetTCPLines
24 static const TCPLines& StaticNoteTCPLines();
25 static const TCPLines& StaticWaveTCPLines();
26
27 static void GetMuteSoloRect(
28 const wxRect & rect, wxRect & dest, bool solo,
29 const Track *pTrack);
30
31 static void GetEffectsButtonRect(
32 const wxRect & rect, wxRect & dest, const Track *pTrack);
33
34 using CommonTrackControls::CommonTrackControls;
35};
36
37#endif
std::vector< TrackInfo::TCPLine > TCPLines
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:110