IFormPoint


Describes minimum required functionality from Point form.

You can find more information in comments below.

class IFormPoint
{
public:
    virtual Point getValue() = 0; // Return value 
    // Whether has limits 
    virtual bool hasMin() = 0;
    virtual bool hasMax() = 0;
    // Return limits 
    virtual int getMin() = 0;
    virtual int getMax() = 0;

    virtual bool setValue(const Point &value) = 0; // Set value 
    // Set whether has limits 
    virtual bool setHasMin(const bool value) = 0;
    virtual bool setHasMax(const bool value) = 0;
    // Set limits 
    virtual bool setMin(const int value) = 0;
    virtual bool setMax(const int value) = 0;

    virtual void ActivateFirstEnabledInput() = 0;
};
Namespace: nitisa::standard
Include: Standard/Forms/IFormPoint.h