mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-08 00:20:19 +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
|
#endif
|
||||||
|
|
||||||
|
wxString TrackPanel::gSoloPref;
|
||||||
|
|
||||||
void TrackPanel::UpdatePrefs()
|
void TrackPanel::UpdatePrefs()
|
||||||
{
|
{
|
||||||
gPrefs->Read(wxT("/GUI/AutoScroll"), &mViewInfo->bUpdateTrackIndicator,
|
gPrefs->Read(wxT("/GUI/AutoScroll"), &mViewInfo->bUpdateTrackIndicator,
|
||||||
true);
|
true);
|
||||||
gPrefs->Read(wxT("/GUI/Solo"), &mSoloPref, wxT("Simple"));
|
gPrefs->Read(wxT("/GUI/Solo"), &gSoloPref, wxT("Simple"));
|
||||||
|
|
||||||
#ifdef EXPERIMENTAL_OUTPUT_DISPLAY
|
#ifdef EXPERIMENTAL_OUTPUT_DISPLAY
|
||||||
bool temp = WaveTrack::mMonoAsVirtualStereo;
|
bool temp = WaveTrack::mMonoAsVirtualStereo;
|
||||||
|
@ -612,9 +612,12 @@ protected:
|
|||||||
#ifdef EXPERIMENTAL_OUTPUT_DISPLAY
|
#ifdef EXPERIMENTAL_OUTPUT_DISPLAY
|
||||||
void UpdateVirtualStereoOrder();
|
void UpdateVirtualStereoOrder();
|
||||||
#endif
|
#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.
|
//JKC: These two belong in the label track.
|
||||||
int mLabelTrackStartXPos;
|
int mLabelTrackStartXPos;
|
||||||
int mLabelTrackStartYPos;
|
int mLabelTrackStartYPos;
|
||||||
@ -876,7 +879,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
wxString mSoloPref;
|
static wxString gSoloPref;
|
||||||
|
|
||||||
// Keeps track of extra fractional vertical scroll steps
|
// Keeps track of extra fractional vertical scroll steps
|
||||||
double mVertScrollRemainder;
|
double mVertScrollRemainder;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user