|
Jamba
3.1.0
|
#include <CustomViewCreator.h>
Inherited by pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::TAttribute< T, TGetter, TSetter >.
Public Member Functions | |
| virtual bool | apply (CView *iView, const UIAttributes &iAttributes, const IUIDescription *iDescription)=0 |
| virtual bool | getAttributeValue (CView *iView, const IUIDescription *iDescription, std::string &oStringValue) const =0 |
| std::string | getName () const |
| virtual IViewCreator::AttrType | getType ()=0 |
| ViewAttribute (std::string iName) | |
Private Attributes | |
| std::string | fName |
Base abstract class for an attribute of a view
|
inlineexplicit |
|
pure virtual |
Extracts the value from iAttributes for getName() attribute and "apply" it on the view provided. Subclass will handle the extraction based on type.
Implemented in pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::TAttribute< T, TGetter, TSetter >.
|
pure virtual |
Extracts the value from the view for this attribute (getName()) and store it in oStringValue. Subclass will handle the extraction based on type.
Implemented in pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::TAttribute< T, TGetter, TSetter >.
|
inline |
Name of the attribute (which ends up being an attribute in the xml file) Ex: <view back-color="~ BlackCColor" .../> => back-color
|
pure virtual |
Implemented in pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::FontAttribute, pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::BitmapAttribute, pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::BooleanAttribute, pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::GradientAttribute, pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::ColorAttribute, pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::FloatAttribute< TFloat >, pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::IntegerAttribute< TInt >, pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::TagAttribute, and pongasoft::VST::GUI::Views::TCustomViewCreator< TView >::TAttribute< T, TGetter, TSetter >.
|
private |