|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Contains details about the source of a drag-and-drop operation. More...
#include "juce_DragAndDropTarget.h"
Public Member Functions | |
| SourceDetails (const var &description, Component *sourceComponent, Point< int > localPosition) noexcept | |
| Creates a SourceDetails object from its various settings. | |
Public Attributes | |
| var | description |
| A descriptor for the drag - this is set DragAndDropContainer::startDragging(). | |
| WeakReference< Component > | sourceComponent |
| The component from the drag operation was started. | |
| Point< int > | localPosition |
| The local position of the mouse, relative to the target component. | |
Contains details about the source of a drag-and-drop operation.
Definition at line 53 of file juce_DragAndDropTarget.h.
|
noexcept |
Creates a SourceDetails object from its various settings.
Definition at line 612 of file juce_DragAndDropContainer.cpp.
| var juce::DragAndDropTarget::SourceDetails::description |
A descriptor for the drag - this is set DragAndDropContainer::startDragging().
Definition at line 62 of file juce_DragAndDropTarget.h.
The local position of the mouse, relative to the target component.
Note that for calls such as isInterestedInDragSource(), this may be a null position.
Definition at line 70 of file juce_DragAndDropTarget.h.
| WeakReference<Component> juce::DragAndDropTarget::SourceDetails::sourceComponent |
The component from the drag operation was started.
Definition at line 65 of file juce_DragAndDropTarget.h.