11#ifndef __AUDACITY_TRACK_VRULER_CONTROLS__
12#define __AUDACITY_TRACK_VRULER_CONTROLS__
24 ,
public std::enable_shared_from_this<ChannelVRulerControls>
36 std::vector<UIHandlePtr>
HitTest
41 static void DrawZooming
43 int zoomStart,
int zoomEnd);
44 static wxRect ZoomingArea(
const wxRect &rect,
const wxRect &panelRect );
52 return mwChannelView.lock();
60 const wxRect &rect,
const wxRect &panelRect,
unsigned iPass )
override;
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
std::weak_ptr< ChannelView > mwChannelView
virtual void UpdateRuler(const wxRect &rect)=0
std::shared_ptr< const ChannelView > GetChannelView() const
std::shared_ptr< Track > DoFindTrack() override
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 wxRect DrawingArea(TrackPanelDrawingContext &context, const wxRect &rect, const wxRect &panelRect, unsigned iPass)
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.