mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-08 16:11:14 +02:00
35 lines
889 B
C++
35 lines
889 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
LabelTrackControls.h
|
|
|
|
Paul Licameli split from TrackPanel.cpp
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_LABEL_TRACK_CONTROLS__
|
|
#define __AUDACITY_LABEL_TRACK_CONTROLS__
|
|
|
|
#include "../../ui/TrackControls.h"
|
|
|
|
class LabelTrackControls final : public TrackControls
|
|
{
|
|
LabelTrackControls(const LabelTrackControls&) = delete;
|
|
LabelTrackControls &operator=(const LabelTrackControls&) = delete;
|
|
|
|
public:
|
|
explicit
|
|
LabelTrackControls( std::shared_ptr<Track> pTrack )
|
|
: TrackControls( pTrack ) {}
|
|
~LabelTrackControls();
|
|
|
|
std::vector<UIHandlePtr> HitTest
|
|
(const TrackPanelMouseState &state,
|
|
const AudacityProject *pProject) override;
|
|
|
|
PopupMenuTable *GetMenuExtension(Track *pTrack) override;
|
|
};
|
|
|
|
#endif
|