VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
IDragCallback Class Referenceabstract

Drag callback interface. More...

+ Inheritance diagram for IDragCallback:

Public Member Functions

virtual void dragWillBegin (IDraggingSession *session, CPoint pos)=0
 the drag will begin More...
 
virtual void dragMoved (IDraggingSession *session, CPoint pos)=0
 the drag was moved More...
 
virtual void dragEnded (IDraggingSession *session, CPoint pos, DragOperation result)=0
 the drag ended More...
 
- Public Member Functions inherited from IReference
virtual void forget ()=0
 decrease refcount and delete object if refcount == 0 More...
 
virtual void remember ()=0
 increase refcount More...
 

Detailed Description

Drag callback interface.

An optional interface to be used when initiating a drag to know where the mouse is and what the result of the drag was.

Member Function Documentation

◆ dragEnded()

virtual void dragEnded ( IDraggingSession session,
CPoint  pos,
DragOperation  result 
)
pure virtual

the drag ended

Parameters
sessiondragging session
posdrag position in CFrame coordinates
resultthe result of the drag

Implemented in DragCallbackFunctions, and DragCallbackAdapter.

◆ dragMoved()

virtual void dragMoved ( IDraggingSession session,
CPoint  pos 
)
pure virtual

the drag was moved

Parameters
sessiondragging session
posdrag position in CFrame coordinates

Implemented in DragCallbackFunctions, and DragCallbackAdapter.

◆ dragWillBegin()

virtual void dragWillBegin ( IDraggingSession session,
CPoint  pos 
)
pure virtual

the drag will begin

Parameters
sessiondragging session
posdrag position in CFrame coordinates

Implemented in DragCallbackFunctions, and DragCallbackAdapter.


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