openshot-audio  0.1.6
Public Member Functions | Public Attributes | List of all members
juce::DragAndDropTarget::SourceDetails Class Reference

#include <juce_gui_basics.h>

Public Member Functions

 SourceDetails (const var &description, Component *sourceComponent, Point< int > localPosition) noexcept
 

Public Attributes

var description
 
WeakReference< ComponentsourceComponent
 
Point< intlocalPosition
 

Detailed Description

Contains details about the source of a drag-and-drop operation. The contents of this

Constructor & Destructor Documentation

DragAndDropTarget::SourceDetails::SourceDetails ( const var description,
Component sourceComponent,
Point< int localPosition 
)
noexcept

Creates a SourceDetails object from its various settings.

Member Data Documentation

var juce::DragAndDropTarget::SourceDetails::description

A descriptor for the drag - this is set DragAndDropContainer::startDragging().

Point<int> juce::DragAndDropTarget::SourceDetails::localPosition

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.


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