VSTGUI  4.9
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
KeyboardViewBaseCreator Class Reference
+ Inheritance diagram for KeyboardViewBaseCreator:

Public Types

using ViewType = KeyboardViewBase
 
- Public Types inherited from IViewCreator
enum  AttrType {
  kUnknownType, kBooleanType, kIntegerType, kFloatType,
  kStringType, kColorType, kFontType, kBitmapType,
  kPointType, kRectType, kTagType, kListType,
  kGradientType
}
 
using string = std::string
 
using StringList = std::list< string >
 
using ConstStringPtrList = std::list< const string * >
 

Public Member Functions

IdStringPtr getBaseViewName () const override
 
bool getAttributeNames (std::list< std::string > &attributeNames) const override
 
AttrType getAttributeType (const std::string &attributeName) const override
 
bool getAttributeValue (CView *view, const std::string &attributeName, std::string &stringValue, const IUIDescription *desc) const override
 
bool apply (CView *view, const UIAttributes &attributes, const IUIDescription *desc) const override
 
bool getAttributeValueRange (const std::string &attributeName, double &minValue, double &maxValue) const override
 
- Public Member Functions inherited from ViewCreatorAdapter
bool getAttributeNames (StringList &attributeNames) const override
 
bool getPossibleListValues (const string &attributeName, ConstStringPtrList &values) const override
 
UTF8StringPtr getDisplayName () const override
 
- Public Member Functions inherited from IViewCreator
virtual ~IViewCreator () noexcept=default
 
virtual IdStringPtr getViewName () const =0
 
virtual CViewcreate (const UIAttributes &attributes, const IUIDescription *description) const =0
 

Static Public Member Functions

template<typename T >
static std::string numberToString (T value)
 
static ViewType::BitmapID attrNameToBitmapID (const std::string &attributeName)
 

Member Typedef Documentation

Member Function Documentation

bool apply ( CView view,
const UIAttributes attributes,
const IUIDescription desc 
) const
inlineoverridevirtual

Reimplemented from ViewCreatorAdapter.

Reimplemented in KeyboardViewRangeSelectorCreator.

static ViewType::BitmapID attrNameToBitmapID ( const std::string &  attributeName)
inlinestatic
bool getAttributeNames ( std::list< std::string > &  attributeNames) const
inlineoverride
AttrType getAttributeType ( const std::string &  attributeName) const
inlineoverridevirtual

Reimplemented from ViewCreatorAdapter.

Reimplemented in KeyboardViewRangeSelectorCreator.

bool getAttributeValue ( CView view,
const std::string &  attributeName,
std::string &  stringValue,
const IUIDescription desc 
) const
inlineoverridevirtual

Reimplemented from ViewCreatorAdapter.

Reimplemented in KeyboardViewRangeSelectorCreator.

bool getAttributeValueRange ( const std::string &  attributeName,
double &  minValue,
double &  maxValue 
) const
inlineoverridevirtual

Reimplemented from ViewCreatorAdapter.

IdStringPtr getBaseViewName ( ) const
inlineoverridevirtual

Implements IViewCreator.

static std::string numberToString ( value)
inlinestatic

The documentation for this class was generated from the following file: