60 virtual void afterCreate(IUIDescription
const *iDescription, IController *iController);
104 explicit Creator(
char const *iViewName =
nullptr,
char const *iDisplayName =
nullptr) :
119 const UIAttributes &iAttributes,
120 const IUIDescription *iDescription);
Definition: CustomViewCreator.h:1049
virtual void afterCreate(IUIDescription const *iDescription, IController *iController)
Definition: SwitchViewContainer.cpp:46
int32_t getSwitchControlTag() const
Definition: SwitchViewContainer.h:50
virtual void setSwitchControlTag(int32_t iTag)
Definition: SwitchViewContainer.h:49
Definition: GUIRawVstParameter.h:216
void registerTagAttribute(std::string const &iName, typename TagAttribute::Getter iGetter, typename TagAttribute::Setter iSetter)
Definition: CustomViewCreator.h:874
const std::vector< std::string > & getTemplateNames() const
Definition: SwitchViewContainer.h:53
Definition: SwitchViewContainer.h:41
~SwitchViewContainer() override
Definition: SwitchViewContainer.cpp:37
virtual void switchCurrentView()
Definition: SwitchViewContainer.cpp:74
CView * fCurrentView
Definition: SwitchViewContainer.h:97
std::vector< std::string > fTemplateNames
Definition: SwitchViewContainer.h:95
virtual void setCurrentView(CView *iCurrentView)
Definition: SwitchViewContainer.cpp:109
std::string fCurrentTemplateName
Definition: SwitchViewContainer.h:98
void viewContainerViewAdded(CViewContainer *container, CView *view) override
Definition: SwitchViewContainer.cpp:126
void registerParameters() override
Definition: SwitchViewContainer.cpp:55
SwitchViewContainer * createCustomView< SwitchViewContainer >(CRect const &iSize, const UIAttributes &iAttributes, const IUIDescription *iDescription)
Definition: SwitchViewContainer.cpp:150
Definition: SwitchViewContainer.h:101
Definition: CustomView.h:187
void setTemplateNames(const std::vector< std::string > &iNames)
Definition: SwitchViewContainer.h:54
virtual std::string computeTemplateName(int iIndex)
Definition: SwitchViewContainer.cpp:138
IUIDescription const * fUIDescription
Definition: SwitchViewContainer.h:89
void registerVectorStringAttribute(std::string const &iName, typename VectorStringAttribute::Getter iGetter, typename VectorStringAttribute::Setter iSetter, char iDelimiter=',', bool iSkipEmptyEntries=false)
Definition: CustomViewCreator.h:862
Creator(char const *iViewName=nullptr, char const *iDisplayName=nullptr)
Definition: SwitchViewContainer.h:104
int32_t fSwitchControlTag
Definition: SwitchViewContainer.h:92
IController * fUIController
Definition: SwitchViewContainer.h:90
void onParameterChange(ParamID iParamID) override
Definition: SwitchViewContainer.cpp:99
GUIRawVstParam fControlSwitch
Definition: SwitchViewContainer.h:93
SwitchViewContainer(const CRect &iSize)
Definition: SwitchViewContainer.cpp:29