ITrackRange


Describes minimum required functionality from TrackRange control.

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

class ITrackRange :public virtual IControl
{
public:
    void(*OnChange)(ITrackRange *sender); // Event called when control's value is changed 

    virtual int getMin() = 0; // Return minimum 
    virtual int getMax() = 0; // Return maximum 
    virtual Point getValue() = 0; // Return current values(selected range) 
    virtual PointB getTrackerEnabled() = 0; // Return whether trackers are enabled 
    virtual PointB getTrackerVisible() = 0; // Return whether trackers are visible 

    virtual bool setMin(const int value) = 0; // Set minimum 
    virtual bool setMax(const int value) = 0; // Set maximum 
    virtual bool setValue(const Point &value) = 0; // Set current values(selected range) 
    virtual bool setTrackerEnabled(const PointB &value) = 0; // Set whether trackers are enabled 
    virtual bool setTrackerVisible(const PointB &value) = 0; // Set whether trackers are visible 
    virtual bool setValue1(const int value) = 0; // Set "from" value 
    virtual bool setValue2(const int value) = 0; // Set "to" value 
};
Namespace: nitisa::standard
Include: Standard/Controls/ITrackRange.h