1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Move drawing code for TimeTrack...

... Freeing 3 files from cycles:
EnvelopeHandle
Mix
TimeTrack
This commit is contained in:
Paul Licameli
2019-06-06 18:38:29 -04:00
parent 63350d8573
commit 7466556e21
3 changed files with 71 additions and 71 deletions

View File

@@ -55,9 +55,6 @@ class TimeTrack final : public Track {
double GetStartTime() const override { return 0.0; }
double GetEndTime() const override { return 0.0; }
void Draw
( TrackPanelDrawingContext &context, const wxRect & r ) const;
// XMLTagHandler callback methods for loading and saving
bool HandleXMLTag(const wxChar *tag, const wxChar **attrs) override;
@@ -91,6 +88,8 @@ class TimeTrack final : public Track {
void testMe();
Ruler &GetRuler() const { return *mRuler; } // hide this later
private:
// Identifying the type of track
TrackKind GetKind() const override { return TrackKind::Time; }