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

Redo TP_UpdateStatusMessage...

... Rename it as SetStatus; make it part of AudacityProject not
TrackPanelListener; and use a roundabout event signalling to cause the timer
restart.

Because SetStatus will be one of very few things left in AudacityProject, but
the timer handling will be part of another class decoupled from it.

And TrackPanelListener won't really be needed: TrackPanel will not need to
pretend it doesn't know what an AudacityProject is.
This commit is contained in:
Paul Licameli
2019-05-27 22:27:00 -04:00
parent ae18f2f220
commit 02afcbca8c
10 changed files with 47 additions and 27 deletions

View File

@@ -25,7 +25,6 @@ class AUDACITY_DLL_API TrackPanelListener /* not final */ {
virtual ~TrackPanelListener(){};
virtual void TP_DisplaySelection() = 0;
virtual void TP_DisplayStatusMessage(const wxString &msg) = 0;
virtual void TP_RedrawScrollbars() = 0;
virtual void TP_ScrollLeft() = 0;