21#include <unordered_map>
24#include <vstgui4/vstgui/lib/iviewlistener.h>
32using namespace VSTGUI;
96 template<
typename TView>
117template<
typename TView>
127 iView->registerViewListener(
this);
This class manages the views that have been made "param aware".
Definition ParamAwareViews.h:88
void closeAll()
Close all previously established connections.
Definition ParamAwareViews.cpp:28
ParamAwareView< TView > * makeParamAware(TView *iView, GUIState *iGUIState)
Definition ParamAwareViews.h:118
void viewWillDelete(CView *iView) override
Called by VSTGUI when a view that was previously registered is being deleted => all its connections w...
Definition ParamAwareViews.cpp:36
std::unordered_map< CView *, std::unique_ptr< ParamAware > > fParamAwareViews
Definition ParamAwareViews.h:111
This subclass allows for registering callbacks to any kind of view without having to inherit from it.
Definition ParamAware.h:563
Definition DrawContext.cpp:25