1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-23 06:31:17 +01:00

TrackPanelCellIterator visits all cells, and FindCell simply uses it

This commit is contained in:
Paul Licameli
2017-06-17 01:26:36 -04:00
parent ffbc4d5f90
commit 91c86fd937
5 changed files with 173 additions and 150 deletions

View File

@@ -16,6 +16,7 @@ Paul Licameli split from TrackPanel.cpp
struct HitTestResult;
class Track;
class TrackPanelCellIterator;
class TrackPanelResizeHandle final : public UIHandle
{
@@ -80,7 +81,7 @@ public:
Track *FindTrack() override { return mpTrack; };
private:
friend class TrackPanel;
friend class TrackPanelCellIterator;
Track *mpTrack {};
bool mBetweenTracks {};
};