20 #include <vstgui4/vstgui/lib/controls/ctextedit.h> 21 #include <vstgui4/vstgui/lib/controls/icontrollistener.h> 27 using namespace Params;
52 registerControlListener(fOnChangeListener.get());
56 void registerParameters()
override;
59 void setListener(IControlListener *l)
override;
69 void valueChanged(CControl *pControl)
override;
80 explicit Creator(
char const *iViewName =
nullptr,
char const *iDisplayName =
nullptr) :
Inherit from this class to provide the factory for a custom view.
Definition: CustomViewCreator.h:1314
std::unique_ptr< CLabelListener > fOnChangeListener
Definition: TextEditView.h:73
Creator(char const *iViewName=nullptr, char const *iDisplayName=nullptr)
Definition: TextEditView.h:80
Definition: TextEditView.h:77
This class can be used to extend VSTGUI classes directly while still benefiting from the extensions a...
Definition: CustomView.h:335
Definition: CustomController.h:24
GUIJmbParam< UTF8String > & fText
Definition: TextEditView.h:70
TextEdit(const CRect &iSize)
Definition: TextEditView.h:34
The purpose of this class is to adapt the constructor signature to a single element,...
Definition: TextEditView.h:31
TextEditView(const CRect &iSize)
Definition: TextEditView.h:50
CLabelListener(GUIJmbParam< UTF8String > &iText)
Definition: TextEditView.h:68
Control listener to handle changes to the CTextLabel and propagates to fText
Definition: TextEditView.h:67
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:47
Extends the CTextEdit view to tie it to a GUIJmbParam<UTF8String>.
Definition: TextEditView.h:46