VSTGUI  4.3
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGradient Class Reference

Gradient Object [new in 4.0]. More...

+ Inheritance diagram for CGradient:
+ Collaboration diagram for CGradient:

Public Types

typedef std::multimap< double,
CColor
ColorStopMap
 

Public Member Functions

virtual bool isTypeOf (IdStringPtr s) const
 
virtual CBaseObjectnewCopy () const
 
virtual void beforeDelete ()
 
Member Access
void addColorStop (double start, const CColor &color)
 
virtual void addColorStop (const std::pair< double, CColor > &colorStop)
 
const ColorStopMapgetColorStops () const
 
Reference Counting Methods
virtual void forget ()
 decrease refcount and delete object if refcount == 0 More...
 
virtual void remember ()
 increase refcount More...
 
virtual int32_t getNbReference () const
 get refcount More...
 
Message Methods
virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)
 

Static Public Member Functions

static CGradientcreate (const ColorStopMap &colorStopMap)
 
static CGradientcreate (double color1Start, double color2Start, const CColor &color1, const CColor &color2)
 

Protected Member Functions

 CGradient (double color1Start, double color2Start, const CColor &color1, const CColor &color2)
 
 CGradient (const ColorStopMap &colorStopMap)
 

Protected Attributes

ColorStopMap colorStops
 

Detailed Description

Gradient Object [new in 4.0].

Member Typedef Documentation

typedef std::multimap<double, CColor> ColorStopMap

Constructor & Destructor Documentation

CGradient ( double  color1Start,
double  color2Start,
const CColor color1,
const CColor color2 
)
inlineprotected

+ Here is the call graph for this function:

CGradient ( const ColorStopMap colorStopMap)
inlineprotected

Member Function Documentation

void addColorStop ( double  start,
const CColor color 
)
inline

+ Here is the caller graph for this function:

virtual void addColorStop ( const std::pair< double, CColor > &  colorStop)
inlinevirtual
virtual void beforeDelete ( )
inlinevirtualinherited

Reimplemented in CView.

+ Here is the caller graph for this function:

static CGradient* create ( const ColorStopMap colorStopMap)
static

+ Here is the caller graph for this function:

static CGradient* create ( double  color1Start,
double  color2Start,
const CColor color1,
const CColor color2 
)
inlinestatic

+ Here is the call graph for this function:

virtual void forget ( )
inlinevirtualinherited

decrease refcount and delete object if refcount == 0

+ Here is the call graph for this function:

const ColorStopMap& getColorStops ( ) const
inline

+ Here is the caller graph for this function:

virtual int32_t getNbReference ( ) const
inlinevirtualinherited

get refcount

virtual bool isTypeOf ( IdStringPtr  s) const
inlinevirtual
virtual CBaseObject* newCopy ( ) const
inlinevirtual
virtual void remember ( )
inlinevirtualinherited

increase refcount

+ Here is the caller graph for this function:

Member Data Documentation

ColorStopMap colorStops
protected

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