TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iWidgetColorPicker Struct Referenceabstract
Inheritance diagram for iWidgetColorPicker:
iUnknown

Detailed Description

Widget ColorPicker viewer.

Public Member Functions

virtual void SetHSV (const sColor3f &avHSV)=0
 Set the color picker's current color in HSV format. {Property}. More...
 
virtual sColor3f GetHSV () const =0
 Get the color picker's current color in HSV format. {Property}. More...
 
virtual void SetRGBA (const sColor4f &avRGBA)=0
 Set the color picker's current color in RGBA format. {Property}. More...
 
virtual sColor4f GetRGBA () const =0
 Get the color picker's current color in RGBA format. {Property}. More...
 
virtual void SetRGB (const sColor3f &avRGB)=0
 Set the color picker's current color in RGB format. {Property}. More...
 
virtual sColor3f GetRGB () const =0
 Get the color picker's current color in RGB format. {Property}. More...
 
virtual void SetAlpha (tF32 afAlpha)=0
 Set the color picker's current color alpha. {Property}. More...
 
virtual tF32 GetAlpha () const =0
 Get the color picker's current color alpha. {Property}. More...
 
virtual void SetBrightness (const tF32 afBrightness)=0
 Set the color picker's current color brightness. {Property}. More...
 
virtual tF32 GetBrightness () const =0
 Get the color picker's current color brightness. {Property}. More...
 
virtual void SetMaxBrightness (const tF32 afMaxBrightness)=0
 Set the color picker's current color maximum brightness. {Property}. More...
 
virtual tF32 GetMaxBrightness () const =0
 Get the color picker's current color maximum brightness. {Property}. More...
 
virtual tBool SetColorName (iHString *ahspName)=0
 Set the color picker's current color from a color name. More...
 
virtual const acharGetColorName () const =0
 Get the color picker's current color as color name. More...
 
virtual tBool SetExpression (iHString *ahspExpression)=0
 Set the color picker's current color from a mathematic expression. {Property}. More...
 
virtual iHStringGetExpression () const =0
 Get the color picker's current color as a mathematic expression. {Property}. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual void SetHSV ( const sColor3f avHSV)
pure virtual

Set the color picker's current color in HSV format. {Property}.

virtual sColor3f GetHSV ( ) const
pure virtual

Get the color picker's current color in HSV format. {Property}.

virtual void SetRGBA ( const sColor4f avRGBA)
pure virtual

Set the color picker's current color in RGBA format. {Property}.

virtual sColor4f GetRGBA ( ) const
pure virtual

Get the color picker's current color in RGBA format. {Property}.

virtual void SetRGB ( const sColor3f avRGB)
pure virtual

Set the color picker's current color in RGB format. {Property}.

virtual sColor3f GetRGB ( ) const
pure virtual

Get the color picker's current color in RGB format. {Property}.

virtual void SetAlpha ( tF32  afAlpha)
pure virtual

Set the color picker's current color alpha. {Property}.

virtual tF32 GetAlpha ( ) const
pure virtual

Get the color picker's current color alpha. {Property}.

virtual void SetBrightness ( const tF32  afBrightness)
pure virtual

Set the color picker's current color brightness. {Property}.

virtual tF32 GetBrightness ( ) const
pure virtual

Get the color picker's current color brightness. {Property}.

virtual void SetMaxBrightness ( const tF32  afMaxBrightness)
pure virtual

Set the color picker's current color maximum brightness. {Property}.

virtual tF32 GetMaxBrightness ( ) const
pure virtual

Get the color picker's current color maximum brightness. {Property}.

virtual tBool SetColorName ( iHString ahspName)
pure virtual

Set the color picker's current color from a color name.

See also
ni::eColor {Property}
virtual const achar* GetColorName ( ) const
pure virtual

Get the color picker's current color as color name.

See also
ni::eColor {Property}
virtual tBool SetExpression ( iHString ahspExpression)
pure virtual

Set the color picker's current color from a mathematic expression. {Property}.

virtual iHString* GetExpression ( ) const
pure virtual

Get the color picker's current color as a mathematic expression. {Property}.