mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-17 14:11:13 +01:00
WaveTrack::WaveTrackDisplay does not encode scale or spectral selection...
... SpectrogramSettings does that instead, and Preferences or View Settings are the user interface for changing it. Handle invalidation of spectrogram pixel cache for scale type changes, just as for other changes of settings. No more TrackArtist::InvalidateSpectrumCache(). View type of track now switches to Spectrum when applying or OKing the View Settings... dialog and the Spectrogram page is open (and for now it is still the only page)
This commit is contained in:
@@ -71,9 +71,6 @@ class AUDACITY_DLL_API TrackArtist {
|
||||
|
||||
void UpdatePrefs();
|
||||
|
||||
void InvalidateSpectrumCache(TrackList *tracks);
|
||||
void InvalidateSpectrumCache(WaveTrack *track);
|
||||
|
||||
void SetBackgroundBrushes(wxBrush unselectedBrush, wxBrush selectedBrush,
|
||||
wxPen unselectedPen, wxPen selectedPen) {
|
||||
this->unselectedBrush = unselectedBrush;
|
||||
|
||||
Reference in New Issue
Block a user