1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

Demote Copy to CommonTrackCell; Track points only to that base class

This commit is contained in:
Paul Licameli
2019-06-22 10:43:55 -04:00
parent 3f1fd8ced0
commit 8793d6b475
7 changed files with 23 additions and 11 deletions

View File

@@ -263,8 +263,8 @@ class AUDACITY_DLL_API Track /* not final */
// Return another, associated TrackPanelCell object that implements
// click and drag and keystrokes in the track contents.
std::shared_ptr<TrackView> GetTrackView();
std::shared_ptr<const TrackView> GetTrackView() const;
std::shared_ptr<CommonTrackCell> GetTrackView();
std::shared_ptr<const CommonTrackCell> GetTrackView() const;
// Return another, associated TrackPanelCell object that implements the
// drop-down, close and minimize buttons, etc.
@@ -704,7 +704,7 @@ public:
bool HandleCommonXMLAttribute(const wxChar *attr, const wxChar *value);
protected:
std::shared_ptr<TrackView> mpView;
std::shared_ptr<CommonTrackCell> mpView;
std::shared_ptr<CommonTrackCell> mpControls;
};