Audacity 3.2.0
Classes | Namespaces | Functions | Variables
EffectUI.cpp File Reference
#include "EffectUI.h"
#include "Effect.h"
#include "StatefulEffectUIServices.h"
#include "EffectEditor.h"
#include "EffectPreview.h"
#include "AllThemeResources.h"
#include "widgets/BasicMenu.h"
#include "BasicUI.h"
#include "CommandManager.h"
#include "ConfigInterface.h"
#include "EffectManager.h"
#include "DoEffect.h"
#include "PluginManager.h"
#include "ProjectAudioIO.h"
#include "ProjectHistory.h"
#include "../ProjectWindowBase.h"
#include "../ProjectWindows.h"
#include "TrackFocus.h"
#include "RealtimeEffectList.h"
#include "RealtimeEffectManager.h"
#include "RealtimeEffectState.h"
#include "Theme.h"
#include "Viewport.h"
#include "wxWidgetsWindowPlacement.h"
#include "../../images/Effect.h"
#include "AudioIO.h"
#include "../CommonCommandFlags.h"
#include "../prefs/GUISettings.h"
#include "Project.h"
#include "../ProjectAudioManager.h"
#include "ShuttleGui.h"
#include "ViewInfo.h"
#include "CommandContext.h"
#include "AudacityMessageBox.h"
#include "HelpSystem.h"
#include "../widgets/AButton.h"
#include <wx/button.h>
#include <wx/checkbox.h>
#include <wx/dcclient.h>
#include <wx/dcmemory.h>
#include <wx/menu.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/textctrl.h>
#include "ProjectRate.h"
#include "../SelectUtilities.h"
#include "WaveTrack.h"
Include dependency graph for EffectUI.cpp:

Go to the source code of this file.

Classes

class  EffectPanel
 
class  anonymous_namespace{EffectUI.cpp}::EffectSettingsAccessTee
 

Namespaces

namespace  anonymous_namespace{EffectUI.cpp}
 

Functions

static PluginID GetID (EffectPlugin &effect)
 
AButtonanonymous_namespace{EffectUI.cpp}::MakeBitmapToggleButton (wxWindow *parent, const wxImage &ImageOn, const wxImage &ImageOff)
 
wxString anonymous_namespace{EffectUI.cpp}::GetVersionForDisplay (const EffectDefinitionInterface &definition)
 

Variables

static const int kDummyID = 20000
 
static const int kSaveAsID = 20001
 
static const int kImportID = 20002
 
static const int kExportID = 20003
 
static const int kDefaultsID = 20004
 
static const int kOptionsID = 20005
 
static const int kUserPresetsDummyID = 20006
 
static const int kDeletePresetDummyID = 20007
 
static const int kMenuID = 20100
 
static const int kEnableID = 20101
 
static const int kPlayID = EffectEditor::kPlayID
 
static const int kPlaybackID = 20105
 
static const int kCaptureID = 20106
 
static const int kUserPresetsID = 21000
 
static const int kDeletePresetID = 22000
 
static const int kFactoryPresetsID = 23000
 
constexpr int anonymous_namespace{EffectUI.cpp}::InnerMargin = 3
 
static RealtimeEffectState::EffectFactory::Scope scope { &EffectManager::GetInstanceFactory }
 Inject a factory for realtime effects. More...
 

Function Documentation

◆ GetID()

static PluginID GetID ( EffectPlugin effect)
static

Definition at line 39 of file EffectUI.cpp.

40{
41 return PluginManager::GetID(&effect.GetDefinition());
42}
virtual const EffectSettingsManager & GetDefinition() const =0
static PluginID GetID(const PluginProvider *provider)

References EffectPlugin::GetDefinition(), and PluginManager::GetID().

Referenced by EffectUIHost::InitializeInstance(), and EffectUIHost::OnApply().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ kCaptureID

const int kCaptureID = 20106
static

Definition at line 134 of file EffectUI.cpp.

◆ kDefaultsID

const int kDefaultsID = 20004
static

Definition at line 126 of file EffectUI.cpp.

Referenced by EffectUIHost::OnMenu().

◆ kDeletePresetDummyID

const int kDeletePresetDummyID = 20007
static

Definition at line 129 of file EffectUI.cpp.

Referenced by EffectUIHost::OnMenu().

◆ kDeletePresetID

const int kDeletePresetID = 22000
static

Definition at line 136 of file EffectUI.cpp.

Referenced by EffectUIHost::OnDeletePreset(), and EffectUIHost::OnMenu().

◆ kDummyID

const int kDummyID = 20000
static

Definition at line 122 of file EffectUI.cpp.

Referenced by EffectUIHost::OnMenu().

◆ kEnableID

const int kEnableID = 20101
static

◆ kExportID

const int kExportID = 20003
static

Definition at line 125 of file EffectUI.cpp.

Referenced by EffectUIHost::OnMenu().

◆ kFactoryPresetsID

const int kFactoryPresetsID = 23000
static

Definition at line 137 of file EffectUI.cpp.

Referenced by EffectUIHost::OnFactoryPreset(), and EffectUIHost::OnMenu().

◆ kImportID

const int kImportID = 20002
static

Definition at line 124 of file EffectUI.cpp.

Referenced by EffectUIHost::OnMenu().

◆ kMenuID

const int kMenuID = 20100
static

Definition at line 130 of file EffectUI.cpp.

Referenced by EffectUIHost::BuildTopBar(), and EffectUIHost::OnMenu().

◆ kOptionsID

const int kOptionsID = 20005
static

Definition at line 127 of file EffectUI.cpp.

Referenced by EffectUIHost::OnMenu().

◆ kPlaybackID

const int kPlaybackID = 20105
static

Definition at line 133 of file EffectUI.cpp.

◆ kPlayID

const int kPlayID = EffectEditor::kPlayID
static

Definition at line 132 of file EffectUI.cpp.

Referenced by EffectUIHost::Initialize().

◆ kSaveAsID

const int kSaveAsID = 20001
static

Definition at line 123 of file EffectUI.cpp.

Referenced by EffectUIHost::OnMenu().

◆ kUserPresetsDummyID

const int kUserPresetsDummyID = 20006
static

Definition at line 128 of file EffectUI.cpp.

Referenced by EffectUIHost::OnMenu().

◆ kUserPresetsID

const int kUserPresetsID = 21000
static

Definition at line 135 of file EffectUI.cpp.

Referenced by EffectUIHost::OnMenu(), and EffectUIHost::OnUserPreset().

◆ scope

Inject a factory for realtime effects.

Definition at line 1239 of file EffectUI.cpp.