1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-17 00:57:40 +02:00
audacity/src/tracks/timetrack/ui/TimeTrackView.h
Paul Licameli 18b4c01c51 TrackVRulerControl is directly owned by TrackView not Track...
... in anticipation of making views to tracks many-to-one, but then the rulers
should be one-to-one with the views.  So go through the view to get the ruler.
The ruler is really a left-hand extension for each view.
2019-06-18 16:01:06 -04:00

32 lines
749 B
C++

/**********************************************************************
Audacity: A Digital Audio Editor
TimeTrackView.h
Paul Licameli split from class TimeTrack
**********************************************************************/
#ifndef __AUDACITY_TIME_TRACK_VIEW__
#define __AUDACITY_TIME_TRACK_VIEW__
#include "../../ui/CommonTrackView.h"
class TimeTrackView final : public CommonTrackView
{
TimeTrackView( const TimeTrackView& ) = delete;
TimeTrackView &operator=( const TimeTrackView& ) = delete;
public:
explicit
TimeTrackView( const std::shared_ptr<Track> &pTrack )
: CommonTrackView{ pTrack } {}
~TimeTrackView() override;
std::shared_ptr<TrackVRulerControls> DoGetVRulerControls() override;
};
#endif