ICF 3.0.5.47
Technical documentation of ICF Libraries
iview::IDraggable Class Referenceabstract

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

#include <IDraggable.h>

Inheritance diagram for iview::IDraggable:
Collaboration diagram for iview::IDraggable:

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.
 

Detailed Description

Common interface for all, you can drag.

Definition at line 22 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:

© Witold Gantzke and Kirill Lepskiy