21#include <vstgui4/vstgui/lib/controls/ctextedit.h>
22#include <vstgui4/vstgui/lib/controls/icontrollistener.h>
27using namespace VSTGUI;
28using namespace Params;
81 explicit Creator(
char const *iViewName =
nullptr,
char const *iDisplayName =
nullptr) :
This is the main class that the plugin should use as it exposes only the necessary methods of the par...
Definition GUIJmbParameter.h:497
CustomViewAdapter(const CRect &iSize, Args &&...args)
Definition CustomView.h:344
CustomViewCreator(char const *iViewName=nullptr, char const *iDisplayName=nullptr, char const *iBaseViewName=VSTGUI::UIViewCreator::kCView)
Definition CustomViewCreator.h:1318
TextEdit(const CRect &iSize)
Definition TextEditView.h:35
Creator(char const *iViewName=nullptr, char const *iDisplayName=nullptr)
Definition TextEditView.h:81
GUIJmbParam< UTF8String > fText
Definition TextEditView.h:64
void setListener(IControlListener *l) override
Definition TextEditView.cpp:42
void registerParameters() override
Subclasses should override this method to register each parameter.
Definition TextEditView.cpp:30
TextEditView(const CRect &iSize)
Definition TextEditView.h:51
std::unique_ptr< CLabelListener > fOnChangeListener
Definition TextEditView.h:74
Definition CustomController.h:25
constexpr ParamID UNDEFINED_PARAM_ID
Constant used throughout the code to test whether the ParamID represents a valid id or an undefined o...
Definition Types.h:48
Control listener to handle changes to the CTextLabel and propagates to fText.
Definition TextEditView.h:68
GUIJmbParam< UTF8String > & fText
Definition TextEditView.h:71
CLabelListener(GUIJmbParam< UTF8String > &iText)
Definition TextEditView.h:69
void valueChanged(CControl *pControl) override
Definition TextEditView.cpp:54