mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 09:39:42 +02:00
Comment out an unused UpdatePrefs function
This commit is contained in:
parent
b4fc4b9ceb
commit
0969d00b1b
@ -348,6 +348,10 @@ NoteTrack *MixerTrackCluster::GetNote() const
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Old approach modified things in situ.
|
||||||
|
// However with a theme change there is so much to modify, it is easier
|
||||||
|
// to recreate.
|
||||||
|
#if 0
|
||||||
void MixerTrackCluster::UpdatePrefs()
|
void MixerTrackCluster::UpdatePrefs()
|
||||||
{
|
{
|
||||||
this->SetBackgroundColour( theTheme.Colour( clrMedium ) );
|
this->SetBackgroundColour( theTheme.Colour( clrMedium ) );
|
||||||
@ -356,6 +360,7 @@ void MixerTrackCluster::UpdatePrefs()
|
|||||||
mMeter->UpdatePrefs(); // in case meter range has changed
|
mMeter->UpdatePrefs(); // in case meter range has changed
|
||||||
HandleResize(); // in case prefs "/GUI/Solo" changed
|
HandleResize(); // in case prefs "/GUI/Solo" changed
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void MixerTrackCluster::HandleResize() // For wxSizeEvents, update gain slider and meter.
|
void MixerTrackCluster::HandleResize() // For wxSizeEvents, update gain slider and meter.
|
||||||
{
|
{
|
||||||
|
@ -86,7 +86,7 @@ public:
|
|||||||
NoteTrack *GetNote() const;
|
NoteTrack *GetNote() const;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void UpdatePrefs();
|
//void UpdatePrefs();
|
||||||
|
|
||||||
void HandleResize(); // For wxSizeEvents, update gain slider and meter.
|
void HandleResize(); // For wxSizeEvents, update gain slider and meter.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user