11#ifndef __AUDACITY_TRACK_SELECT_HANDLE__
12#define __AUDACITY_TRACK_SELECT_HANDLE__
14#include "../../UIHandle.h"
29 (std::weak_ptr<TrackSelectHandle> &holder,
30 const std::shared_ptr<Track> &pTrack);
34 std::shared_ptr<const Track>
FindTrack()
const override;
48 wxWindow *pParent)
override;
std::shared_ptr< UIHandle > UIHandlePtr
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Abstract base class for an object holding data associated with points on a time axis.
std::shared_ptr< const Track > FindTrack() const override
static UIHandlePtr HitAnywhere(std::weak_ptr< TrackSelectHandle > &holder, const std::shared_ptr< Track > &pTrack)
std::shared_ptr< Track > mpTrack
Result Release(const TrackPanelMouseEvent &event, AudacityProject *pProject, wxWindow *pParent) override
void CalculateRearrangingThresholds(const wxMouseEvent &event, AudacityProject *project)
Result Drag(const TrackPanelMouseEvent &event, AudacityProject *pProject) override
HitTestPreview Preview(const TrackPanelMouseState &state, AudacityProject *pProject) override
Result Click(const TrackPanelMouseEvent &event, AudacityProject *pProject) override
virtual ~TrackSelectHandle()
bool StopsOnKeystroke() override
Result Cancel(AudacityProject *) override
TrackSelectHandle(const TrackSelectHandle &)=delete
TrackSelectHandle & operator=(const TrackSelectHandle &)=default
Short-lived drawing and event-handling object associated with a TrackPanelCell.