1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-24 15:11:11 +01:00

static ::Get functions for overlays on TrackPanel...

... not member functions of AudacityProject.

AdornedRulerPanel is not (yet) made similarly independent of its overlay
code.

Two .cpp files implementing overlays escape dependency cycles to higher levels.
This commit is contained in:
Paul Licameli
2019-04-28 07:02:40 -04:00
parent 004997cec1
commit 52abbcdc4b
8 changed files with 37 additions and 30 deletions

View File

@@ -55,7 +55,6 @@ class AudacityProject;
class AutoSaveFile;
class Importer;
class ODLock;
class Overlay;
class RecordingRecoveryHandler;
namespace ProjectFileIORegistry{ struct Entry; }
class TrackList;
@@ -649,15 +648,6 @@ public:
private:
bool mbInitializingScrollbar{ false };
// TrackPanelOverlay objects
std::shared_ptr<Overlay>
mIndicatorOverlay, mCursorOverlay;
#ifdef EXPERIMENTAL_SCRUBBING_BASIC
std::shared_ptr<Overlay> mScrubOverlay;
private:
#endif
public:
class PlaybackScroller final : public wxEvtHandler
{