Audacity 3.2.0
|
"Plain" plugin UI, contains a list of parameter controls and values. More...
#include <VST3ParametersWindow.h>
Public Member Functions | |
VST3ParametersWindow (wxWindow *parent, Steinberg::Vst::IEditController &editController, Steinberg::Vst::IComponentHandler &handler, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxScrolledWindowStyle, const wxString &name=wxPanelNameStr) | |
void | ReloadParameters () |
void | UpdateParameter (Steinberg::Vst::ParamID paramId) |
Static Public Member Functions | |
static VST3ParametersWindow * | Setup (wxWindow &parent, Steinberg::Vst::IEditController &editController, Steinberg::Vst::IComponentHandler &componentHandler) |
Creates VST3ParametersWindow inside parent. More... | |
Private Member Functions | |
void | RegisterParameterControl (VST3ParameterControl *control) |
void | RegisterParameterLabel (VST3ParameterControl *label) |
void | OnParameterValueChanged (const wxCommandEvent &evt) |
Private Attributes | |
const Steinberg::IPtr< Steinberg::Vst::IEditController > | mEditController |
const Steinberg::IPtr< Steinberg::Vst::IComponentHandler > | mComponentHandler |
std::unordered_map< Steinberg::Vst::ParamID, VST3ParameterControl * > | mControls |
std::unordered_map< Steinberg::Vst::ParamID, VST3ParameterControl * > | mLabels |
"Plain" plugin UI, contains a list of parameter controls and values.
Definition at line 35 of file VST3ParametersWindow.h.
VST3ParametersWindow::VST3ParametersWindow | ( | wxWindow * | parent, |
Steinberg::Vst::IEditController & | editController, | ||
Steinberg::Vst::IComponentHandler & | handler, | ||
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxScrolledWindowStyle , |
||
const wxString & | name = wxPanelNameStr |
||
) |
Definition at line 247 of file VST3ParametersWindow.cpp.
References label, OnParameterValueChanged(), RegisterParameterControl(), RegisterParameterLabel(), safenew, and VST3Utils::ToWxString().
Referenced by Setup().
|
private |
Definition at line 401 of file VST3ParametersWindow.cpp.
References mComponentHandler, mEditController, and mLabels.
Referenced by VST3ParametersWindow().
|
private |
Definition at line 389 of file VST3ParametersWindow.cpp.
References VST3ParameterControl::GetParameterId(), mControls, mEditController, and VST3ParameterControl::SetNormalizedValue().
Referenced by VST3ParametersWindow().
|
private |
Definition at line 395 of file VST3ParametersWindow.cpp.
References label, mEditController, and mLabels.
Referenced by VST3ParametersWindow().
void VST3ParametersWindow::ReloadParameters | ( | ) |
Definition at line 367 of file VST3ParametersWindow.cpp.
References mControls, mEditController, and mLabels.
Referenced by VST3Editor::UpdateUI().
|
static |
Creates VST3ParametersWindow inside parent.
parent | Where all parameter controls will be placed |
editController | Used to read current values |
handler | Used to report parameter changes |
Definition at line 422 of file VST3ParametersWindow.cpp.
References safenew, VST3ParametersWindow(), and wxT().
Referenced by VST3Editor::VST3Editor().
void VST3ParametersWindow::UpdateParameter | ( | Steinberg::Vst::ParamID | paramId | ) |
Definition at line 375 of file VST3ParametersWindow.cpp.
References mControls, mEditController, and mLabels.
|
private |
Definition at line 38 of file VST3ParametersWindow.h.
Referenced by OnParameterValueChanged().
|
private |
Definition at line 39 of file VST3ParametersWindow.h.
Referenced by RegisterParameterControl(), ReloadParameters(), and UpdateParameter().
|
private |
Definition at line 37 of file VST3ParametersWindow.h.
Referenced by OnParameterValueChanged(), RegisterParameterControl(), RegisterParameterLabel(), ReloadParameters(), and UpdateParameter().
|
private |
Definition at line 40 of file VST3ParametersWindow.h.
Referenced by OnParameterValueChanged(), RegisterParameterLabel(), ReloadParameters(), and UpdateParameter().