ACF $AcfVersion:0$
Public Member Functions | List of all members
iview::IDraggable Class Referenceabstract

Common interface for all, you can drag. More...

#include <IDraggable.h>

Inheritance diagram for iview::IDraggable:
istd::IPolymorphic iview::CInteractiveShapeBase iview::CViewBase iview::ISelectableLayer iview::CAffineTransformation2dShape iview::CLineShape iview::CParallelogramShape iview::CPinShape iview::CRectControlledShapeBase iview::CRectangleShape iview::CCalibratedViewBase iview::CInteractiveViewLayer iview::CToolsViewLayer

Public Member Functions

virtual void BeginDrag (const istd::CIndex2d &reference)=0
 Called before dragging is begin.
 
virtual void SetDragPosition (const istd::CIndex2d &position)=0
 Set new drag position.
 
virtual void EndDrag ()=0
 Called after dragging.
 
virtual bool IsDraggable () const =0
 Check if drag is enabled.
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

Common interface for all, you can drag.

Definition at line 17 of file IDraggable.h.

Member Function Documentation

◆ BeginDrag()

virtual void iview::IDraggable::BeginDrag ( const istd::CIndex2d reference)
pure virtual

Called before dragging is begin.

It set also reference value for dragging position.

Implemented in iview::CInteractiveShapeBase, iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.

◆ EndDrag()

virtual void iview::IDraggable::EndDrag ( )
pure virtual

◆ IsDraggable()

virtual bool iview::IDraggable::IsDraggable ( ) const
pure virtual

◆ SetDragPosition()

virtual void iview::IDraggable::SetDragPosition ( const istd::CIndex2d position)
pure virtual

Set new drag position.

It must be enclosed using BeginDrag() and EndDrag() methods.

Implemented in iview::CInteractiveShapeBase, iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.


The documentation for this class was generated from the following file: