1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Disabled EXPERIMENTAL_EFFECT_MANAGEMENT

I also changed it so that if it is enabled ALL built in effects are enabled.
This commit is contained in:
James Crook
2015-05-21 14:27:36 +01:00
parent 0dbaa76a7b
commit 12993a3547
7 changed files with 13 additions and 6 deletions

View File

@@ -78,7 +78,7 @@
//#define EFFECT_CATEGORIES
// JKC Apr 2015, Menu item to manage effects.
#define EXPERIMENTAL_EFFECT_MANAGEMENT
//#define EXPERIMENTAL_EFFECT_MANAGEMENT
// Andreas Micheler, 20.Nov 2007:
// A spectrumLogF-like view mode with notes quantization.

View File

@@ -522,6 +522,7 @@ void PluginRegistrationDialog::PopulateOrExchange(ShuttleGui &S)
beside each one.*/
S.StartStatic(_("Select Plugins then press ENTER to Install"), true);
{
#ifdef EXPERIMENTAL_EFFECT_MANAGEMENT
S.StartHorizontalLay(wxALIGN_LEFT,0 );
{
wxRadioButton* rb;
@@ -538,6 +539,7 @@ void PluginRegistrationDialog::PopulateOrExchange(ShuttleGui &S)
rb->SetName(_("Show registered"));
}
S.EndHorizontalLay();
#endif
S.SetStyle(wxSUNKEN_BORDER | wxLC_REPORT | wxLC_SINGLE_SEL | wxLC_HRULES | wxLC_VRULES );
mEffects = S.Id(EffectListID).AddListControlReportMode();
@@ -627,6 +629,10 @@ void PluginRegistrationDialog::PopulateOrExchange(ShuttleGui &S)
iter2++;
};
RegenerateEffectsList( ID_ShowAll );
#ifndef EXPERIMENTAL_EFFECT_MANAGEMENT
wxCommandEvent Evt;
OnSelectAll( Evt );
#endif
Layout();
Fit();
@@ -718,6 +724,7 @@ void PluginRegistrationDialog::RegenerateEffectsList( int iShowWhat )
item.SetId( i );
item.SetMask( wxLIST_MASK_IMAGE );
mEffects->GetItem( item );
if( item.GetImage() != 0 )
miState[ i ] = SHOW_CHECKED;
}

View File

@@ -44,7 +44,7 @@ public:
// EffectIdentInterface implementation
virtual EffectType GetType();
virtual bool EnableFromGetGo(){ return false;};
//virtual bool EnableFromGetGo(){ return false;};
// EffectClientInterface implementation

View File

@@ -34,7 +34,7 @@ public:
// EffectIdentInterface implementation
virtual EffectType GetType();
virtual bool EnableFromGetGo(){ return false;};
//virtual bool EnableFromGetGo(){ return false;};
// EffectClientInterface implementation

View File

@@ -33,7 +33,7 @@ public:
// EffectIdentInterface implementation
virtual EffectType GetType();
virtual bool EnableFromGetGo(){ return false;};
//virtual bool EnableFromGetGo(){ return false;};
// EffectClientInterface implementation

View File

@@ -28,7 +28,7 @@ public:
void setParameters(double rateStart, double rateEnd, double pitchStart, double pitchEnd,
SlideType rateSlideType, SlideType pitchSlideType,
bool bLinkRatePitch, bool bRateReferenceInput, bool bPitchReferenceInput);
virtual bool EnableFromGetGo(){ return false;};
//virtual bool EnableFromGetGo(){ return false;};
private:

View File

@@ -47,7 +47,7 @@ public:
// EffectIdentInterface implementation
virtual EffectType GetType();
virtual bool EnableFromGetGo(){ return false;};
//virtual bool EnableFromGetGo(){ return false;};
// EffectClientInterface implementation