VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
CViewContainerDropTarget Struct Reference
+ Inheritance diagram for CViewContainerDropTarget:

Public Member Functions

 CViewContainerDropTarget (CViewContainer *container)
 
CPoint getLocalPos (const CPoint &pos) const
 
DragOperation onDragEnter (DragEventData data) final
 a drag enters the drop target More...
 
DragOperation onDragMove (DragEventData data) final
 a drag moves over the drop target More...
 
void onDragLeave (DragEventData data) final
 a drag leaves the drop target More...
 
bool onDrop (DragEventData data) final
 a drop happens on the drop target More...
 
- Public Member Functions inherited from ReferenceCounted< T >
 ReferenceCounted ()=default
 
virtual ~ReferenceCounted () noexcept=default
 
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
void forget () override
 decrease refcount and delete object if refcount == 0 More...
 
void remember () override
 increase refcount More...
 
virtual int32_t getNbReference () const
 get refcount More...
 
virtual void beforeDelete ()
 

Public Attributes

CViewContainercontainer
 
SharedPointer< IDropTargetdropTarget
 
SharedPointer< CViewcurrentDragView
 

Constructor & Destructor Documentation

◆ CViewContainerDropTarget()

CViewContainerDropTarget ( CViewContainer container)
inline

Member Function Documentation

◆ getLocalPos()

CPoint getLocalPos ( const CPoint pos) const
inline

◆ onDragEnter()

DragOperation onDragEnter ( DragEventData  data)
inlinefinalvirtual

a drag enters the drop target

Parameters
datadrag event data
Returns
drag operation

Implements IDropTarget.

◆ onDragLeave()

void onDragLeave ( DragEventData  data)
inlinefinalvirtual

a drag leaves the drop target

Parameters
datadrag event data

Implements IDropTarget.

◆ onDragMove()

DragOperation onDragMove ( DragEventData  data)
inlinefinalvirtual

a drag moves over the drop target

Parameters
datadrag event data
Returns
drag operation

Implements IDropTarget.

◆ onDrop()

bool onDrop ( DragEventData  data)
inlinefinalvirtual

a drop happens on the drop target

Parameters
datadrag event data

Implements IDropTarget.

Member Data Documentation

◆ container

CViewContainer* container

◆ currentDragView

SharedPointer<CView> currentDragView

◆ dropTarget


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