11#ifndef __AUDACITY_TRACK_PANEL_RESIZE_HANDLE__
12#define __AUDACITY_TRACK_PANEL_RESIZE_HANDLE__
36 std::shared_ptr<const Track>
FindTrack()
const override;
51 wxWindow *pParent)
override;
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.
Constructed from one channel, but changes height of all channels in a track.
Result Click(const TrackPanelMouseEvent &event, AudacityProject *pProject) override
std::weak_ptr< Channel > mwChannel
HitTestPreview Preview(const TrackPanelMouseState &state, AudacityProject *pProject) override
int mInitialUpperExpandedHeight
Channel * PrevChannel(Channel &channel)
@ IsResizingBelowLinkedTracks
@ IsResizingBetweenLinkedTracks
TrackPanelResizeHandle(const TrackPanelResizeHandle &)=delete
static HitTestPreview HitPreview(bool bLinked)
std::shared_ptr< Channel > FindChannel()
Result Drag(const TrackPanelMouseEvent &event, AudacityProject *pProject) override
std::shared_ptr< const Track > FindTrack() const override
Result Cancel(AudacityProject *pProject) override
Result Release(const TrackPanelMouseEvent &event, AudacityProject *pProject, wxWindow *pParent) override
TrackPanelResizeHandle & operator=(const TrackPanelResizeHandle &)=default
static Track & GetTrack(Channel &channel)
int mInitialExpandedHeight
virtual ~TrackPanelResizeHandle()
int mInitialUpperTrackHeight
Channel * NextChannel(Channel &channel)
Short-lived drawing and event-handling object associated with a TrackPanelCell.