11#ifndef __AUDACITY_TRACK_PANEL_CELL__
12#define __AUDACITY_TRACK_PANEL_CELL__
63 using Child = std::pair< wxCoord, std::shared_ptr<TrackPanelNode> >;
99 virtual unsigned HandleWheelRotation
110 virtual unsigned DoContextMenu
112 wxWindow *pParent,
const wxPoint *pPosition,
AudacityProject *pProject);
116 virtual unsigned CaptureKey
117 (wxKeyEvent &event,
ViewInfo &viewInfo, wxWindow *pParent,
122 virtual unsigned KeyDown
123 (wxKeyEvent & event,
ViewInfo &viewInfo, wxWindow *pParent,
128 virtual unsigned KeyUp
129 (wxKeyEvent & event,
ViewInfo &viewInfo, wxWindow *pParent,
134 virtual unsigned Char
135 (wxKeyEvent & event,
ViewInfo &viewInfo, wxWindow *pParent,
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...
virtual std::shared_ptr< TrackPanelCell > ContextMenuDelegate()
TrackPanelCell & operator=(const TrackPanelCell &)=delete
TrackPanelCell(const TrackPanelCell &)=delete
virtual std::vector< UIHandlePtr > HitTest(const TrackPanelMouseState &state, const AudacityProject *pProject)=0
Drawing interface common to cells, groups of cells, and temporary handles in CellularPanel.
virtual Subdivision Children(const wxRect &rect)=0
std::pair< Axis, Refinement > Subdivision
std::vector< Child > Refinement
std::pair< wxCoord, std::shared_ptr< TrackPanelNode > > Child
The TrackPanel is built up of nodes, subtrees of the CellularPanel's area Common base class for Track...
Short-lived drawing and event-handling object associated with a TrackPanelCell.