|
| bool | fromString (IUIDescription const *iDescription, std::string const &iAttributeValue, T &oValue) const override |
| | Subclasses need to implement this method to convert a string (iAttributeValue) to a T.
|
| IViewCreator::AttrType | getType () override |
| | ListAttribute (std::string const &iName, typename super_type::Getter iGetter, typename super_type::Setter iSetter, AttrValInitList< T > const &iAttributeValues) |
| bool | apply (CView *iView, const UIAttributes &iAttributes, const IUIDescription *iDescription) override |
| | apply => calls the setter on the view to set the attribute (use fromString)
|
| IViewCreator::AttrType | getType () override |
| | TAttribute (std::string const &iName, Getter iGetter, Setter iSetter) |
| std::string | getName () const |
| | Name of the attribute (which ends up being an attribute in the xml file) Ex: <view back-color="~ BlackCColor" .../> => back-color.
|
| | ViewAttribute (std::string iName) |
template<typename TView>
template<typename T>
class pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::ListAttribute< T >
Specialization for a list of possible values defined by the AttributeMap.