CHSVBar



Implements HSVBar control.

You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.

class CHSVBar :public virtual IHSVBar, public CControl
{
public:
    void(*OnChange)(IControl *sender); // Event called when color changed by user 

    // IControl methods 
    void Refresh(const bool refresh_children) override;

    int getHue() override;
    IHSVPlane *getHSVPlane() override;

    bool setDPI(const Point &value) override;
    bool setHue(const int value) override;
    bool setHSVPlane(IHSVPlane *value) override;

    CHSVBar();
    CHSVBar(IControl *parent);
    CHSVBar(IForm *parent);

    // Return layout properties 
    float getPickerSize() const;
    Color getPickerColor() const;
    Color getPickerBorderColor() const;

    // Set layout properties 
    bool setPickerSize(const float value);
    bool setPickerColor(const Color &value);
    bool setPickerBorderColor(const Color &value);
};
Namespace: nitisa::standard
Include: Standard/Controls/HSVBar/HSVBar.h