|
LMMS
|
#include <juce_DragAndDropTarget.h>
Public Member Functions | |
| SourceDetails (const var &description, Component *sourceComponent, Point< int > localPosition) noexcept | |
Public Attributes | |
| var | description |
| WeakReference< Component > | sourceComponent |
| Point< int > | localPosition |
Contains details about the source of a drag-and-drop operation.
|
noexcept |
Creates a SourceDetails object from its various settings.
| var juce::DragAndDropTarget::SourceDetails::description |
A descriptor for the drag - this is set DragAndDropContainer::startDragging().
The local position of the mouse, relative to the target component. Note that for calls such as isInterestedInDragSource(), this may be a null position.
| WeakReference<Component> juce::DragAndDropTarget::SourceDetails::sourceComponent |
The component from the drag operation was started.