Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
1 year ago
reuk
b7beb42153
DragAndDropContainer: Avoid out-parameters
2 years ago
attila
acc6addb86
DragAndDropContainer: Manage keyboard focus for the drag image when the target needs it hidden
The previous implementation would trigger assertions in
grabKeyboardFocus() when the DragImageComponent was hidden due to the
target returning false from shouldDrawDragImageWhenOver().
Hiding the image would also mean that its keyboard focus was lost. Now
focus is restored when the image becomes visible again.
2 years ago
attila
032cc528c8
DragAndDropContainer: Fix the escape key dismissing the drag operation
3 years ago
attila
74af7b11ec
DragAndDropContainer: Fix the escape key dismissing the drag operation
3 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
34fdea0708
DragAndDropContainer: Allow custom scaling
3 years ago
Attila Szarvas
823bfb0c32
DragAndDropContainer: fix positioning when source Component is transformed
3 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
5 years ago
ed
009d685179
Updated all license headers
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
a313357d39
Update DragAndDropTarget::SourceDetails::localPosition before calling DragAndDropContainer::dragOperationStarted()
5 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
Tom Poole
a3219c7fc6
Linux: Fixed a DragAndDrop issue between different containers
6 years ago
Tom Poole
e763ac3de2
Fixed a bug when performing a DragAndDrop across windows
6 years ago
Tom Poole
9dde83e662
Fixed a z-order bug when DragAndDrop-ing between plug-in windows
6 years ago
ed
481221a256
Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers()
7 years ago
jules
4fcedf7be5
Standardised some lambda syntax
7 years ago
ed
1356ab1819
Fixed an issue in the last commit where an assertion would be triggered when not explicitly passing the inputSourceCausingDrag parameter to DragAndDropContainer::startDragging()
7 years ago
ed
112f1af3e8
Fixed a bug where multiple itemDropped() callbacks were being triggered when using drag and drop
7 years ago
ed
3ed0e05c9e
Fixed a bug when using drag and drop on devices with both mouse and touch inputs
7 years ago
ed
5d8d37eb87
Added support for multi-touch drag and drop
7 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
60e9231fb1
Removed need for std::function in order to use MessageManager::callAsync(). Used it to modernise a few bits of old code.
8 years ago
jules
dd13702684
Added support for drag and drop of text on OSX, via DragAndDropContainer::shouldDropTextWhenDraggedExternally
8 years ago
hogliux
0df1e0b5a9
Added sourceDetails parameter to dragOperationStarted and dragOperationEnded
8 years ago
hogliux
c7b8e77031
Update copyright notice
10 years ago
jules
062f136dd4
Added a method DragAndDropContainer::setCurrentDragImage
10 years ago
jules
c6ca8b05b1
Added callbacks to DragAndDropContainer to be told when drag operations begin/end.
10 years ago
jules
31b912bc87
Tweak to DragAndDropContainer to avoid problems detecting the window that's being dragged over.
10 years ago
jules
6c61dbb68e
Refactored the internal mouse-handling code to use floating point coords. This shouldn't affect much user code, but a few methods in MouseInputSource have now changed to use Point<float> rather than Point<int>.
11 years ago
jules
8be86285b0
Fixed erroneous showing of drag-and-drop image if the drag starts on a non-droppable comp.
11 years ago
jules
4620d71816
Made DragAndDropContainer force mouse-cursor updates to help when using modifier keys to change the drag mode.
11 years ago
jules
e432b03c61
Avoiding alert beeps when windows are created during a drag operation.
11 years ago
jules
8efe5abb1a
Avoided DragAndDropContainer holding onto its description object after a drag finishes.
11 years ago
jules
177b6426b8
When dragging-and-dropping, made the escape key cancel the drag.
11 years ago
jules
7590e3f1fe
Fixed some toolbar customiser drag+drop problems.
12 years ago
jules
4d7aaace23
Changed DragAndDropContainer::getCurrentDragDescription() to return a var.
12 years ago
jules
5918d039ce
Added some "override" annotations.
12 years ago
jules
c75a7300f5
Added some 'override' modifiers to overridden methods.
12 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
12 years ago
jules
910b834f72
Minor clean-ups.
12 years ago
jules
7a3453f48b
Minor clean-ups.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
565cb189ea
Introjucer: ability to drag files from the project tree into external apps. Added more drag-and-drop functionality for linux.
12 years ago