11#ifndef __AUDACITY_TRACK_VRULER_CONTROLS__
12#define __AUDACITY_TRACK_VRULER_CONTROLS__
24 ,
public std::enable_shared_from_this< TrackVRulerControls >
36 std::vector<UIHandlePtr>
HitTest
41 static void DrawZooming
43 int zoomStart,
int zoomEnd);
44 static wxRect ZoomingArea(
const wxRect &rect,
const wxRect &panelRect );
56 const wxRect &rect,
unsigned iPass )
override;
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...
virtual std::shared_ptr< Track > DoFindTrack()=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)
std::weak_ptr< TrackView > mwTrackView
virtual void UpdateRuler(const wxRect &rect)=0
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.