1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-10 14:46:24 +01:00

ProcessUIHandleResult takes pointers to TrackPanelCell

This commit is contained in:
Paul Licameli
2018-06-24 22:00:58 -04:00
parent 7395e5acbd
commit 98514194a4
2 changed files with 25 additions and 23 deletions

View File

@@ -540,7 +540,7 @@ protected:
bool ChangeTarget(bool forward, bool cycle);
std::weak_ptr<Track> mpClickedTrack;
std::weak_ptr<TrackPanelCell> mpClickedCell;
UIHandlePtr mUIHandle;
std::shared_ptr<TrackPanelCell> mpBackground;
@@ -550,7 +550,8 @@ protected:
DECLARE_EVENT_TABLE()
void ProcessUIHandleResult
(Track *pClickedTrack, Track *pLatestTrack, unsigned refreshResult);
(TrackPanelCell *pClickedCell, TrackPanelCell *pLatestCell,
unsigned refreshResult);
// friending GetInfoCommand allow automation to get sizes of the
// tracks, track control panel and such.