14#include "../../../../RefreshCode.h"
15#include "../../../../TrackPanelMouseEvent.h"
21#include "../../../../TrackArtist.h"
22#include "../../../../TrackPanelDrawingContext.h"
23#include "../../../../widgets/LinearUpdater.h"
24#include "../../../../widgets/RealFormat.h"
25#include "../../../../widgets/Ruler.h"
30 static Ruler theRuler{
37 const wxRect &rect_,
unsigned iPass)
49 auto dc = &context.
dc;
63 if ( t->vrulerSize.GetWidth() < rect.GetWidth()) {
64 int adj = rr.GetWidth() - t->vrulerSize.GetWidth();
virtual void UpdateRuler(const wxRect &rect)=0
static const LinearUpdater & Instance()
void SetTickColour(const wxColour &colour)
void Draw(wxDC &dc) const
wxColour & Colour(int iIndex)
AUDACITY_DLL_API Ruler & ScratchRuler()
AUDACITY_DLL_API void DoDraw(ChannelVRulerControls &controls, TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass)