ISysColorDialog


Describes minimum required functionality of system color dialog.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class ISysColorDialog :public virtual IComponent
{
public:
    virtual bool isAnyColor() = 0; // Return whether any color could be selected 
    virtual bool isFullOpen() = 0; // Return whether dialog is fully opened 
    virtual bool isPreventFullOpen() = 0; // Return whether allow or not open dialog fully 
    virtual bool isOnlySolidColors() = 0; // Return whether only predefined set of colors could be selected 
    virtual Color getColor() = 0; // Return selected color 

    virtual bool setAnyColor(const bool value) = 0; // Set whether any color could be selected 
    virtual bool setFullOpen(const bool value) = 0; // Set whether dialog is fully opened 
    virtual bool setPreventFullOpen(const bool value) = 0; // Set whether allow or not open dialog fully 
    virtual bool setOnlySolidColors(const bool value) = 0; // Set whether only predefined set of colors could be selected 
    virtual bool setColor(const Color &value) = 0; // Set selected color 

    virtual bool Execute() = 0; // Show dialog 
};
Namespace: nitisa::standard
Include: Standard/Components/ISysColorDialog.h