mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
Migrating the remaining effects
This brings the builtin, LV2, and VAMP effects inline with the Audio Units, LADSPA, and VST effects. All effects now share a common UI. This gives all effects (though not implemented for all): User and factory preset capability Preset import/export capability Shared or private configuration options Builtin effects can now be migrated to RTP, depending on algorithm. LV2 effects now support graphical interfaces if the plugin supplies one. Nyquist prompt enhanced to provide some features of the Nyquist Workbench. It may not look like it, but this was a LOT of work, so trust me, there WILL be problems and everything effect related should be suspect. Keep a sharp eye (or two) open.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "Audacity.h"
|
||||
|
||||
#include <wx/grid.h>
|
||||
#include <wx/sizer.h>
|
||||
#include <wx/string.h>
|
||||
|
||||
#include "WrappedType.h"
|
||||
@@ -176,6 +177,7 @@ public:
|
||||
|
||||
wxSlider * TieSlider( const wxString &Prompt, WrappedType & WrappedRef, const int max, const int min = 0 );
|
||||
wxSlider * TieSlider( const wxString &Prompt, int &pos, const int max, const int min = 0);
|
||||
wxSlider * TieSlider( const wxString &Prompt, double &pos, const double max, const double min = 0.0);
|
||||
wxSlider * TieSlider( const wxString &Prompt, float &pos, const float fMin, const float fMax);
|
||||
wxSlider * TieVSlider( const wxString &Prompt, float &pos, const float fMin, const float fMax);
|
||||
|
||||
@@ -259,6 +261,8 @@ public:
|
||||
int GetId() {return miIdNext;};
|
||||
void UseUpId();
|
||||
|
||||
wxSizer * GetSizer() {return mpSizer;};
|
||||
|
||||
protected:
|
||||
void SetProportions( int Default );
|
||||
void PushSizer();
|
||||
@@ -368,8 +372,8 @@ public:
|
||||
RulerPanel * AddRulerVertical( float low, float hi, const wxString & Units );
|
||||
AttachableScrollBar * AddAttachableScrollBar( long style = wxSB_HORIZONTAL );
|
||||
void AddStandardButtons( long buttons = eOkButton | eCancelButton, wxButton *extra = NULL );
|
||||
void AddSpace( int width, int height );
|
||||
void AddSpace( int size ) { AddSpace( size, size ); };
|
||||
wxSizerItem * AddSpace( int width, int height );
|
||||
wxSizerItem * AddSpace( int size ) { return AddSpace( size, size ); };
|
||||
int GetBorder() { return miBorder; };
|
||||
|
||||
void SetSizeHints( int minX = -1, int minY = -1 );
|
||||
@@ -377,5 +381,7 @@ public:
|
||||
void SetSizeHints( const wxArrayInt & items );
|
||||
static void SetSizeHints( wxWindow *window, const wxArrayString & items );
|
||||
static void SetSizeHints( wxWindow *window, const wxArrayInt & items );
|
||||
|
||||
teShuttleMode GetMode() { return mShuttleMode; };
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user