Animated Integer Interface


// Interface for animating an integer.
class RVAPI IAnimInt : public IAnimValue
{
public:
    // Animate value.
    int Animate();

    // Start animation.
    void Start();

    // Stop animation.
    void Stop();

    // Clear animation.
    void Clear();

    // Pass2 animation.
    void Pass2();

    // Set animation to run from [low] to [high] for [span] seconds using [mode] behavior, possibly in [reverse]. 
    void Set(float span, int low, int high, Mode mode = Mode::CLAMP, bool reverse = false);

    // Constructor.
    IAnimInt(void *wobj) : IAnimValue(wobj) {}

    // Destructor.
    ~IAnimInt() {}
};