mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-19 06:07:42 +02:00
TrackPanel::HasSoloButton is static and public
This commit is contained in:
parent
98b24cd6b9
commit
e554f0cdc6
@ -773,11 +773,13 @@ void TrackPanel::UpdateVirtualStereoOrder()
|
||||
}
|
||||
#endif
|
||||
|
||||
wxString TrackPanel::gSoloPref;
|
||||
|
||||
void TrackPanel::UpdatePrefs()
|
||||
{
|
||||
gPrefs->Read(wxT("/GUI/AutoScroll"), &mViewInfo->bUpdateTrackIndicator,
|
||||
true);
|
||||
gPrefs->Read(wxT("/GUI/Solo"), &mSoloPref, wxT("Simple"));
|
||||
gPrefs->Read(wxT("/GUI/Solo"), &gSoloPref, wxT("Simple"));
|
||||
|
||||
#ifdef EXPERIMENTAL_OUTPUT_DISPLAY
|
||||
bool temp = WaveTrack::mMonoAsVirtualStereo;
|
||||
|
@ -612,9 +612,12 @@ protected:
|
||||
#ifdef EXPERIMENTAL_OUTPUT_DISPLAY
|
||||
void UpdateVirtualStereoOrder();
|
||||
#endif
|
||||
// Accessors...
|
||||
virtual bool HasSoloButton(){ return mSoloPref!=wxT("None");}
|
||||
|
||||
public:
|
||||
// Accessors...
|
||||
static bool HasSoloButton(){ return gSoloPref!=wxT("None");}
|
||||
|
||||
protected:
|
||||
//JKC: These two belong in the label track.
|
||||
int mLabelTrackStartXPos;
|
||||
int mLabelTrackStartYPos;
|
||||
@ -876,7 +879,7 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
wxString mSoloPref;
|
||||
static wxString gSoloPref;
|
||||
|
||||
// Keeps track of extra fractional vertical scroll steps
|
||||
double mVertScrollRemainder;
|
||||
|
Loading…
x
Reference in New Issue
Block a user