reuk
b7beb42153
DragAndDropContainer: Avoid out-parameters
2023-02-22 21:00:18 +00:00
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.
2022-08-15 12:07:40 +02:00
attila
032cc528c8
DragAndDropContainer: Fix the escape key dismissing the drag operation
2022-06-10 20:38:37 +02:00
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
reuk
34fdea0708
DragAndDropContainer: Allow custom scaling
2021-12-01 15:35:54 +00:00
Attila Szarvas
823bfb0c32
DragAndDropContainer: fix positioning when source Component is transformed
2021-09-27 10:05:19 +00:00
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
2020-07-01 10:00:43 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
2020-04-09 15:22:56 +01:00
ed
a313357d39
Update DragAndDropTarget::SourceDetails::localPosition before calling DragAndDropContainer::dragOperationStarted()
2020-01-21 15:54:32 +00:00
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
2019-01-11 09:52:10 +00:00
Tom Poole
a3219c7fc6
Linux: Fixed a DragAndDrop issue between different containers
2018-08-21 19:20:03 +01:00
Tom Poole
e763ac3de2
Fixed a bug when performing a DragAndDrop across windows
2018-08-21 11:29:06 +01:00
Tom Poole
9dde83e662
Fixed a z-order bug when DragAndDrop-ing between plug-in windows
2018-07-18 16:34:19 +01:00
ed
481221a256
Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers()
2018-05-09 10:04:27 +01:00
jules
4fcedf7be5
Standardised some lambda syntax
2018-01-08 10:28:41 +00:00
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()
2017-11-05 10:42:51 +00:00
ed
112f1af3e8
Fixed a bug where multiple itemDropped() callbacks were being triggered when using drag and drop
2017-11-04 12:37:22 +00:00
ed
3ed0e05c9e
Fixed a bug when using drag and drop on devices with both mouse and touch inputs
2017-11-03 10:13:43 +00:00
ed
5d8d37eb87
Added support for multi-touch drag and drop
2017-10-04 15:52:31 +01:00
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
2017-09-08 08:59:55 +01:00
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
2017-04-27 14:43:04 +01:00
jules
60e9231fb1
Removed need for std::function in order to use MessageManager::callAsync(). Used it to modernise a few bits of old code.
2017-03-29 15:31:41 +01:00
jules
dd13702684
Added support for drag and drop of text on OSX, via DragAndDropContainer::shouldDropTextWhenDraggedExternally
2016-12-20 09:12:22 +00:00
hogliux
0df1e0b5a9
Added sourceDetails parameter to dragOperationStarted and dragOperationEnded
2016-11-29 09:51:58 +00:00
hogliux
c7b8e77031
Update copyright notice
2015-07-22 15:59:34 +01:00
jules
062f136dd4
Added a method DragAndDropContainer::setCurrentDragImage
2015-06-08 13:18:33 -07:00
jules
c6ca8b05b1
Added callbacks to DragAndDropContainer to be told when drag operations begin/end.
2014-10-07 12:08:05 +01:00
jules
31b912bc87
Tweak to DragAndDropContainer to avoid problems detecting the window that's being dragged over.
2014-09-16 15:38:18 +01:00
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>.
2014-06-14 13:06:53 +01:00
jules
8be86285b0
Fixed erroneous showing of drag-and-drop image if the drag starts on a non-droppable comp.
2014-06-11 10:24:59 +01:00
jules
4620d71816
Made DragAndDropContainer force mouse-cursor updates to help when using modifier keys to change the drag mode.
2013-11-27 19:38:40 +00:00
jules
e432b03c61
Avoiding alert beeps when windows are created during a drag operation.
2013-11-20 11:09:59 +00:00
jules
8efe5abb1a
Avoided DragAndDropContainer holding onto its description object after a drag finishes.
2013-11-19 21:22:21 +00:00
jules
177b6426b8
When dragging-and-dropping, made the escape key cancel the drag.
2013-11-18 12:10:38 +00:00
jules
7590e3f1fe
Fixed some toolbar customiser drag+drop problems.
2013-07-25 18:14:23 +01:00
jules
4d7aaace23
Changed DragAndDropContainer::getCurrentDragDescription() to return a var.
2013-07-23 14:38:48 +01:00
jules
5918d039ce
Added some "override" annotations.
2013-07-08 19:05:14 +01:00
jules
c75a7300f5
Added some 'override' modifiers to overridden methods.
2013-06-23 23:09:52 +01:00
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
2013-06-13 13:17:12 +01:00
jules
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
2013-05-22 23:05:53 -06:00
jules
910b834f72
Minor clean-ups.
2013-03-31 12:13:02 +01:00
jules
7a3453f48b
Minor clean-ups.
2012-12-31 19:10:54 +00:00
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
2012-12-04 21:39:15 +00:00
jules
565cb189ea
Introjucer: ability to drag files from the project tree into external apps. Added more drag-and-drop functionality for linux.
2012-10-22 12:28:46 +01:00
jules
89d5e19fca
misc cleanups.
2012-10-18 09:50:10 +01:00
jules
a0ed9c96e4
New class: ConcertinaPanel.
2012-08-05 22:09:26 +01:00
jules
df729be74a
Cleaned-up class inheritance visibilities and encapsulation for some internal classes.
2012-07-12 14:10:46 +01:00