Audacity 3.2.0
LabelTrackVRulerControls.h
Go to the documentation of this file.
1/**********************************************************************
2
3Audacity: A Digital Audio Editor
4
5LabelTrackVRulerControls.h
6
7Paul Licameli split from TrackPanel.cpp
8
9**********************************************************************/
10
11#ifndef __AUDACITY_LABEL_TRACK_VRULER_CONTROLS__
12#define __AUDACITY_LABEL_TRACK_VRULER_CONTROLS__
13
14#include "../../ui/ChannelVRulerControls.h"
15
16// This class is here for completeness, by analogy with other track
17// types, but it does nothing.
19{
22 = delete;
23
24public:
25 explicit
26 LabelTrackVRulerControls(const std::shared_ptr<ChannelView> &pChannelView)
27 : ChannelVRulerControls{ pChannelView } {}
29
30private:
31
32 // TrackPanelDrawable implementation
33 void Draw(
35 const wxRect &rect, unsigned iPass ) override;
36
37 // ChannelVRulerControls implementation
38 void UpdateRuler( const wxRect &rect ) override;
39
40};
41
42#endif
LabelTrackVRulerControls & operator=(const LabelTrackVRulerControls &)=delete
void Draw(TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass) override
LabelTrackVRulerControls(const std::shared_ptr< ChannelView > &pChannelView)
void UpdateRuler(const wxRect &rect) override
LabelTrackVRulerControls(const LabelTrackVRulerControls &)=delete