Audacity 3.2.0
LabelTrackControls.h
Go to the documentation of this file.
1/**********************************************************************
2
3Audacity: A Digital Audio Editor
4
5LabelTrackControls.h
6
7Paul 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
21public:
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
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
LabelTrackControls(std::shared_ptr< Track > pTrack)
LabelTrackControls(const LabelTrackControls &)=delete
std::vector< UIHandlePtr > HitTest(const TrackPanelMouseState &state, const AudacityProject *pProject) override
PopupMenuTable * GetMenuExtension(Track *pTrack) override
LabelTrackControls & operator=(const LabelTrackControls &)=delete
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:110