![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Common interface for all, you can drag. More...
#include <IDraggable.h>
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. | |
Common interface for all, you can drag.
Definition at line 22 of file IDraggable.h.
|
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.
|
pure virtual |
Called after dragging.
Implemented in iview::CInteractiveShapeBase, iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.
|
pure virtual |
Check if drag is enabled.
Implemented in iview::CInteractiveShapeBase, iview::CInteractiveViewLayer, iview::CPolygonShape, iview::CToolsViewLayer, and iview::CViewBase.
|
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.
© Witold Gantzke and Kirill Lepskiy