Audacity  3.0.3
LabelTrackControls.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3 Audacity: A Digital Audio Editor
4 
5 LabelTrackControls.h
6 
7 Paul Licameli split from TrackPanel.cpp
8 
9 **********************************************************************/
10 
11 #ifndef __AUDACITY_LABEL_TRACK_CONTROLS__
12 #define __AUDACITY_LABEL_TRACK_CONTROLS__
13 
14 #include "../../ui/CommonTrackControls.h" // to inherit
15 
17 {
20 
21 public:
22  explicit
23  LabelTrackControls( std::shared_ptr<Track> pTrack )
24  : CommonTrackControls( pTrack ) {}
26 
27  std::vector<UIHandlePtr> HitTest
28  (const TrackPanelMouseState &state,
29  const AudacityProject *pProject) override;
30 
31  PopupMenuTable *GetMenuExtension(Track *pTrack) override;
32 };
33 
34 #endif
LabelTrackControls::~LabelTrackControls
~LabelTrackControls()
Definition: LabelTrackControls.cpp:27
PopupMenuTable
Definition: PopupMenuTable.h:115
CommonTrackControls
Definition: CommonTrackControls.h:27
LabelTrackControls::LabelTrackControls
LabelTrackControls(std::shared_ptr< Track > pTrack)
Definition: LabelTrackControls.h:23
LabelTrackControls::HitTest
std::vector< UIHandlePtr > HitTest(const TrackPanelMouseState &state, const AudacityProject *pProject) override
Definition: LabelTrackControls.cpp:32
LabelTrackControls::operator=
LabelTrackControls & operator=(const LabelTrackControls &)=delete
LabelTrackControls
Definition: LabelTrackControls.h:17
LabelTrackControls::GetMenuExtension
PopupMenuTable * GetMenuExtension(Track *pTrack) override
Definition: LabelTrackControls.cpp:171
Track
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:224
AudacityProject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:92
TrackPanelMouseState
Definition: TrackPanelMouseEvent.h:28
LabelTrackControls::LabelTrackControls
LabelTrackControls(const LabelTrackControls &)=delete