struct CCL::IAutoScroller

Overview

AutoScroller interface. More…

#include <imousehandler.h>

struct IAutoScroller: public CCL::IUnknown
{
    // methods

    virtual void CCL_API construct (IView* targetView) = 0;
    virtual void CCL_API trigger (PointRef screenPos, int autoScrollFlags) = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

AutoScroller interface.

Triggered during mouse/touch/drag operations.

Methods

virtual void CCL_API construct (IView* targetView) = 0

Initialize AutoScroller (created via ccl_new) with targetView.

virtual void CCL_API trigger (PointRef screenPos, int autoScrollFlags) = 0

Trigger when mouse/touch has moved.

Specify allowed autoscroll directions using IMouseHandler::kAutoScroll flags.