mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-17 00:57:40 +02:00
... 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.
32 lines
749 B
C++
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
|