VSTGUI  4.2
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 Member Functions

virtual bool isTypeOf (IdStringPtr s) const
 
virtual CBaseObjectnewCopy () const
 
Member Access
double getColor1Start () const
 
double getColor2Start () const
 
const CColorgetColor1 () const
 
const CColorgetColor2 () 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)
 

Protected Member Functions

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

Protected Attributes

double color1Start
 
double color2Start
 
CColor color1
 
CColor color2
 

Detailed Description

Gradient Object [new in 4.0].

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void forget ( )
inlinevirtualinherited

decrease refcount and delete object if refcount == 0

const CColor& getColor1 ( ) const
inline
double getColor1Start ( ) const
inline
const CColor& getColor2 ( ) const
inline
double getColor2Start ( ) const
inline
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

CColor color1
protected
double color1Start
protected
CColor color2
protected
double color2Start
protected

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