VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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
 
virtual void dragMoved (IDraggingSession *session, CPoint pos)=0
 the drag was moved
 
virtual void dragEnded (IDraggingSession *session, CPoint pos, DragOperation result)=0
 the drag ended
 
- Public Member Functions inherited from IReference
virtual void forget ()=0
 decrease refcount and delete object if refcount == 0
 
virtual void remember ()=0
 increase refcount
 

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

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.

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.

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: