11#ifndef __AUDACITY_COMMON_TRACK_CONTROLS__
12#define __AUDACITY_COMMON_TRACK_CONTROLS__
23using TCPLines = std::vector< TrackInfo::TCPLine >;
46 virtual std::vector<UIHandlePtr>
HitTest
51 (
const wxRect &rect, wxWindow *pParent,
const wxPoint *pPosition,
58 const wxRect &rect,
unsigned iPass )
override;
62 const wxRect &rect,
const wxRect &panelRect,
unsigned iPass )
override;
std::vector< TrackInfo::TCPLine > TCPLines
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
std::weak_ptr< TrackSelectHandle > mSelectHandle
std::weak_ptr< MenuButtonHandle > mMenuHandle
std::weak_ptr< CloseButtonHandle > mCloseHandle
std::weak_ptr< MinimizeButtonHandle > mMinimizeHandle
virtual PopupMenuTable * GetMenuExtension(Track *pTrack)=0
unsigned DoContextMenu(const wxRect &rect, wxWindow *pParent, const wxPoint *pPosition, AudacityProject *pProject) override
TrackControls(std::shared_ptr< Track > pTrack)
virtual const TrackInfo::TCPLines & GetTCPLines() const =0
Abstract base class for an object holding data associated with points on a time axis.
virtual std::vector< UIHandlePtr > HitTest(const TrackPanelMouseState &state, const AudacityProject *pProject)=0
virtual void Draw(TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass)
virtual wxRect DrawingArea(TrackPanelDrawingContext &context, const wxRect &rect, const wxRect &panelRect, unsigned iPass)